Socal code camp_usc
Upcoming SlideShare
Loading in...5
×
 

Socal code camp_usc

on

  • 1,081 views

 

Statistics

Views

Total Views
1,081
Views on SlideShare
381
Embed Views
700

Actions

Likes
0
Downloads
0
Comments
0

21 Embeds 700

http://mnabeelkhan.blogspot.com 340
http://www.socalcodecamp.com 293
http://mnabeelkhan.blogspot.in 15
http://mnabeelkhan.blogspot.com.au 9
http://mnabeelkhan.blogspot.ru 8
http://mnabeelkhan.blogspot.de 5
http://mnabeelkhan.blogspot.sg 4
http://mnabeelkhan.blogspot.nl 3
http://mnabeelkhan.blogspot.co.il 3
http://mnabeelkhan.blogspot.com.es 3
http://mnabeelkhan.blogspot.co.uk 3
http://mnabeelkhan.blogspot.it 2
http://mnabeelkhan.blogspot.ca 2
http://mnabeelkhan.blogspot.fr 2
http://mnabeelkhan.blogspot.pt 2
http://mnabeelkhan.blogspot.no 1
http://mnabeelkhan.blogspot.ae 1
http://mnabeelkhan.blogspot.co.nz 1
http://mnabeelkhan.blogspot.com.br 1
http://translate.googleusercontent.com 1
http://mnabeelkhan.blogspot.co.at 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Socal code camp_usc Socal code camp_usc Presentation Transcript

  • WPF Styling Architecture
  • About me
    Sr. Consultant at Neudesic
    12 years experience of Microsoft technologies
    Currently working on WPF and WCF
    Blog posts on mnabeelkhan.blogspot.com
  • Agenda
    What is meant by styles
    Why we need styles
    Key Concepts
    Steps in generating a style
    Demo
    Questions
  • 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.
  • Inline StylesExample
  • Inline StylesDisadvantages
    Style information is provided for each control.
    Lacking flexibility.
    Cannot use as library between different projects.
    Maintainability – Very difficult to maintain as changes had to be broad.
    No separation between layout and Content.
  • WPF Styling Architecture
  • Style Flow
  • Styles ArchitectureKey points
    Theme is at the top level.
    Theme consists of different Control Styles that are building block for a theme.
    Each Control Style consists of General style, Layout style and fonts.
    General Style consists of brushes.
    Brushes consists of primitive colors.
  • Styles ArchitectureAdvantages
    Layout and content style is separated.
    Several themes can be developed that have similar structure.
    Themes can be used cross applications as Style libraries.
    Flexibility
    Easily maintainable.
    Easy to make simple changes.
  • WPF Styles Architecture
    Demo
  • WPF Styles Architecture
    Questions
  • Contact
    http://mnabeelkhan.blogspot.com/
    mnabeekhan@gmail.com