Download presentation
Presentation is loading. Please wait.
Published byElisabet Lahti Modified over 6 years ago
1
Sascha P. Corti Developer Evangelist Microsoft Switzerland sascha
Sascha P. Corti Developer Evangelist Microsoft Switzerland Silverlight 2 Beta 1
2
Agenda UI Customization Isolated Storage Deep Zoom
Control Styles & Skinning Isolated Storage Deep Zoom Deep Zoom Composer Silverlight Streaming
3
Silverlight 2 UI Customization
4
1/3/2019 3:22 AM UI Customization Silverlight = XAML = UI flexibility Customize the look of an application without changing it’s behavior Styling (Styles) Small Visual Changes on an Element (Font, Background Color, etc.) Skinning (Control Templates) Replacing Element’s entire Visual Tree © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
5
Parts Model Element Parts Named element in template
Type: FrameworkElement, Panel, Button, etc.. Control logic will control element in some way SliderControl Sample DownButton Thumb UpButton Track
6
Key=“MouseOver” Storyboard Key=“Pressed” Storyboard
Parts Model State Parts Keyed resource inside template’s root element Type: Storyboard Control logic begins & stops storyboard Initiator Code starts/stops animation. Transition Key=“MouseOver” Storyboard Key=“Pressed” Storyboard STATE part
7
UI Customization: Links
Corinna Barber’s UX Musings: “Silverlight 2 Control Skins” Corinna Barber’s UX Musings: “A New Control Skin Set” Liquid Boy: “Silverlight Control Contracts Diagram - For Skinning” Jose Fajardo: “Skinning a button - 4 different ways and counting!”
8
Control Skinning 8
9
Silverlight 2 Local Storage
10
Local Storage Cookies on Steroids
1/3/2019 3:22 AM Local Storage Cookies on Steroids Provides initial 100KB of Application specific Local Storage Can be expanded per app by prompting the user, up to “unlimited”. Exposed through .NET IsolatedStorage APIs © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
11
Local Storage 11
12
Silverlight 2 Deep Zoom
13
Deep Zoom Provides seamless Viewing & Zooming of huge Images
Loads only the Data necessary to show the Part of an Image the User is Viewing When the image is displayed on the client the lowest resolution tiles are shown first Then as the higher quality tiles are downloaded, they are smoothly blended in © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
14
Deep Zoom Deep Zoom Composer breaks image into 256 x 256 tiles
1/3/2019 3:22 AM Deep Zoom Deep Zoom Composer breaks image into 256 x 256 tiles Then generates pyramids of tiles at lower resolutions Export as Deep Zoom Image or Collection Exposed through MultiScaleImage Control © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
15
Deep Zoom Deep Zoom 15
16
Deep Zoom: Links Expression Blend & Desing Blog
Download the Preview of the Deep Zoom Composer Deep Zoom Composer User Guide Deep Zoom Composer Example (Updated) Deep Zoom Sample with MouseWheel / Pan / Click-Zoom Deep Zoom Collections Example
17
Silverlight Streaming
Hosting your Silverlight Applications Silverlight Streaming
18
Silverlight Streaming
Provides developers a free, scalability-on-demand solution for Silverlight
19
Silverlight Streaming
Remote Silverlight Control & Video Embedded in HTML Silverlight Application Local Silverlight Control loads Remote Video Silverlight Video Asset (VC-1) Silverlight Application Embedded in HTML as <iframe> Windows HTA Application Blend Encoder
20
1/3/2019 3:22 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.