modern design principles (ms). hubs & spoke navigation pattern hierarchical pattern best for...

10
Modern Design Principles (MS)

Upload: poppy-mosley

Post on 19-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Modern Design Principles (MS). Hubs & spoke navigation pattern Hierarchical pattern Best for large collections of related content Content is separated

Modern Design Principles (MS)

Page 2: Modern Design Principles (MS). Hubs & spoke navigation pattern Hierarchical pattern Best for large collections of related content Content is separated

Hubs & spoke navigation pattern

Hierarchical pattern• Best for large collections of related

content• Content is separated into sections,

levels of detail• Pattern provides intuitive navigation,

promotes discovery

Page 3: Modern Design Principles (MS). Hubs & spoke navigation pattern Hierarchical pattern Best for large collections of related content Content is separated

Based on 20px units

Page 4: Modern Design Principles (MS). Hubs & spoke navigation pattern Hierarchical pattern Best for large collections of related content Content is separated

New layouts

Typography creates avisual hierarchy anda built in typeramp inthe default stylesheet

Grid & alignments gives a structured and consistent layout

42pt20pt

11pt

9pt

Page 5: Modern Design Principles (MS). Hubs & spoke navigation pattern Hierarchical pattern Best for large collections of related content Content is separated
Page 6: Modern Design Principles (MS). Hubs & spoke navigation pattern Hierarchical pattern Best for large collections of related content Content is separated

Choosing the right tool

VS == codeBlend == layout

Beginners => Easy StartAdvanced => High Productivity

Page 7: Modern Design Principles (MS). Hubs & spoke navigation pattern Hierarchical pattern Best for large collections of related content Content is separated

Page

*.xaml for UI*.xaml.cs for code behind (c# logic)

UI can be generated through Blend Or written by hand in Visual Studio

Page 8: Modern Design Principles (MS). Hubs & spoke navigation pattern Hierarchical pattern Best for large collections of related content Content is separated

The UI Language

XAML• XML based syntax• Case sensitive• Inline properties for UI customization• Styles and templates can be referenced and collected in

ResourceCollections

• ”Content” & ”Text” controls

Page 9: Modern Design Principles (MS). Hubs & spoke navigation pattern Hierarchical pattern Best for large collections of related content Content is separated

XAML sample

<TextBlock Text=“Hello World” />

<Button Content=“Hello World” />

<TextBox Header=“Brugernavn” PlaceholderText=“Indtast brugernavn” />

Page 10: Modern Design Principles (MS). Hubs & spoke navigation pattern Hierarchical pattern Best for large collections of related content Content is separated

XAML sample

<StackPanel Orientation=“Horizontal”>

<TextBlock Text=“Hello World” Margin=“0,0,0,50” />

<StackPanel Orientation=“Horizontal”>

<Button Width="200" Height="50">Login</Button>

<Button Width="200" Height="50">Cancel</Button>

</StackPanel>

</StackPanel>