styles in silverlight
DESCRIPTION
This is about styles in silverlightTRANSCRIPT
![Page 1: Styles in Silverlight](https://reader031.vdocument.in/reader031/viewer/2022020307/559e33e51a28abdc5d8b464a/html5/thumbnails/1.jpg)
STYLES IN SILVERLIGHT
Presented by
SRISAKTHI
![Page 2: Styles in Silverlight](https://reader031.vdocument.in/reader031/viewer/2022020307/559e33e51a28abdc5d8b464a/html5/thumbnails/2.jpg)
STYLES Allows us to encapsulate control property values as
a reusable resource.
Silverlight supports only explicit styles.
![Page 3: Styles in Silverlight](https://reader031.vdocument.in/reader031/viewer/2022020307/559e33e51a28abdc5d8b464a/html5/thumbnails/3.jpg)
STYLE ELEMENT x:Key is required. Only Named Types are supported. Target Type is required.
![Page 4: Styles in Silverlight](https://reader031.vdocument.in/reader031/viewer/2022020307/559e33e51a28abdc5d8b464a/html5/thumbnails/4.jpg)
APPLYING
Applied via Style Attribute. Simple XAML example,
APPLYING STYLE
![Page 5: Styles in Silverlight](https://reader031.vdocument.in/reader031/viewer/2022020307/559e33e51a28abdc5d8b464a/html5/thumbnails/5.jpg)
CONTD.. Also supports complex xaml
![Page 6: Styles in Silverlight](https://reader031.vdocument.in/reader031/viewer/2022020307/559e33e51a28abdc5d8b464a/html5/thumbnails/6.jpg)
DIFFERENCES Style control allows us to apply to the control's
properties predefined in the style values.
Skinning allows you to build your own presentation for that control by defining control template.
![Page 7: Styles in Silverlight](https://reader031.vdocument.in/reader031/viewer/2022020307/559e33e51a28abdc5d8b464a/html5/thumbnails/7.jpg)
ThankThank youyou