|
8 | 8 | mc:Ignorable="d"
|
9 | 9 | d:DesignHeight="800" d:DesignWidth="600">
|
10 | 10 | <ScrollViewer>
|
11 |
| - <codeDisplayer:XamlDisplayerPanel > |
12 |
| - <StackPanel Margin="16"> |
13 |
| - <TextBlock FontSize="16">Colour Zones</TextBlock> |
14 |
| - <TextBlock TextWrapping="Wrap" MaxWidth="200" Margin="0 16 0 0">The ColorZone control allows you to easily define striking blocks of colour to give your application extra clarity and style, whilst still remaining within the bounds of your Material Design palette.</TextBlock> |
| 11 | + <codeDisplayer:XamlDisplayerPanel HorizontalAlignment="Center" > |
| 12 | + <StackPanel Margin="16" codeDisplayer:XamlDisplayer.DisplayCode="False"> |
| 13 | + <TextBlock Style="{StaticResource MaterialDesignHeadlineTextBlock}">Colour Zones</TextBlock> |
| 14 | + <TextBlock TextWrapping="Wrap" MaxWidth="800" Margin="0 16 0 0" Style="{StaticResource MaterialDesignSubheadingTextBlock}">The ColorZone control allows you to easily define striking blocks of colour to give your application extra clarity and style, whilst still remaining within the bounds of your Material Design palette.</TextBlock> |
15 | 15 | <TextBlock Margin="0 16 0 0" FontSize="10">Invert the basic paper/body colours.</TextBlock>
|
16 | 16 | </StackPanel>
|
17 | 17 | <materialDesign:ColorZone Mode="Inverted" Padding="16">
|
|
29 | 29 | </StackPanel>
|
30 | 30 | </DockPanel>
|
31 | 31 | </materialDesign:ColorZone>
|
32 |
| - <TextBlock Margin="0 16 0 0" TextWrapping="Wrap" FontSize="10">Use primary light back and fore colours.</TextBlock> |
| 32 | + <TextBlock Margin="0 16 0 0" TextWrapping="Wrap" Style="{StaticResource MaterialDesignSubheadingTextBlock}" codeDisplayer:XamlDisplayer.DisplayCode="False">Use primary light back and fore colours.</TextBlock> |
33 | 33 | <materialDesign:ColorZone Mode="PrimaryLight" Padding="16">
|
34 | 34 | <StackPanel Orientation="Horizontal">
|
35 | 35 | <ToggleButton Style="{DynamicResource MaterialDesignHamburgerToggleButton}" />
|
36 | 36 | <TextBlock VerticalAlignment="Center" Margin="16 0 0 0">Material Design In XAML Toolkit</TextBlock>
|
37 | 37 | </StackPanel>
|
38 | 38 | </materialDesign:ColorZone>
|
39 |
| - <TextBlock Margin="0 16 0 0" FontSize="10">Use primary mid colours, and nest colour zones!</TextBlock> |
| 39 | + <TextBlock Margin="0 16 0 0" Style="{StaticResource MaterialDesignSubheadingTextBlock}" codeDisplayer:XamlDisplayer.DisplayCode="False">Use primary mid colours, and nest colour zones!</TextBlock> |
40 | 40 | <materialDesign:ColorZone Mode="PrimaryMid" Padding="16">
|
41 | 41 | <DockPanel>
|
42 | 42 | <ToggleButton Style="{StaticResource MaterialDesignSwitchAccentToggleButton}" VerticalAlignment="Center"
|
|
70 | 70 | </StackPanel>
|
71 | 71 | </DockPanel>
|
72 | 72 | </materialDesign:ColorZone>
|
73 |
| - <TextBlock Margin="0 16 0 0" FontSize="10">Add in a corner radius and shadow.</TextBlock> |
| 73 | + <TextBlock Margin="0 16 0 0" Style="{StaticResource MaterialDesignSubheadingTextBlock}" codeDisplayer:XamlDisplayer.DisplayCode="False">Add in a corner radius and shadow.</TextBlock> |
74 | 74 | <materialDesign:ColorZone Mode="PrimaryDark" Padding="16" CornerRadius="3" materialDesign:ShadowAssist.ShadowDepth="Depth3" Margin="2">
|
75 | 75 | <StackPanel Orientation="Horizontal">
|
76 | 76 | <ToggleButton Style="{DynamicResource MaterialDesignHamburgerToggleButton}" />
|
77 | 77 | <TextBlock VerticalAlignment="Center" Margin="16 0 0 0">Material Design In XAML Toolkit</TextBlock>
|
78 | 78 | </StackPanel>
|
79 | 79 | </materialDesign:ColorZone>
|
80 |
| - <TextBlock Margin="0 16 0 0" FontSize="10">Use accent back and fore colours.</TextBlock> |
| 80 | + <TextBlock Margin="0 16 0 0" Style="{StaticResource MaterialDesignSubheadingTextBlock}" codeDisplayer:XamlDisplayer.DisplayCode="False">Use accent back and fore colours.</TextBlock> |
81 | 81 | <materialDesign:ColorZone Mode="Accent" Padding="16">
|
82 | 82 | <StackPanel Orientation="Horizontal">
|
83 | 83 | <ToggleButton Style="{DynamicResource MaterialDesignHamburgerToggleButton}" />
|
|
0 commit comments