Styles in Silverlight

511 views

Published on

This is about styles in silverlight

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
511
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Styles in Silverlight

  1. 1. STYLES IN SILVERLIGHT Presented by SRISAKTHI
  2. 2. STYLES <ul><li>Allows us to encapsulate control property values as a reusable resource. </li></ul><ul><li>Silverlight supports only explicit styles . </li></ul>
  3. 3. STYLE ELEMENT <ul><li>x:Key is required . </li></ul><ul><li>Only Named Types are supported. </li></ul><ul><li>Target Type is required. </li></ul>
  4. 4. APPLYING <ul><li>Applied via Style Attribute. </li></ul><ul><li>Simple XAML example, </li></ul>APPLYING STYLE
  5. 5. CONTD.. <ul><li>Also supports complex xaml </li></ul>
  6. 6. DIFFERENCES <ul><li>Style control allows us to apply to the control's properties predefined in the style values. </li></ul><ul><li>Skinning allows you to build your own presentation for that control by defining control template. </li></ul>
  7. 7. Thank you

×