Sunday, October 16, 2011

WPF Styling Architecture

What is meant by Style
Features that allow developers and designers to create visually compelling effects and to create a consistent appearance for the product (MSDN).



A convenient way to apply a set of property values to more than one element (MSDN).

Why we need styles


Flexibility



Reduce the amount of core code


Accessibility


Separation of Layout from Content.


 
 
Different Type of Styles
Inline styles.
CSS

WPF Styles Architecture.
 
Complete presentation can be found here.
 
Download sample code here.
 
 
Happy coding

WPF Styling Architecture