|
4 | 4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
5 | 5 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
6 | 6 | xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
| 7 | + xmlns:codeDisplayer="clr-namespace:CodeDisplayer;assembly=CodeDisplayer" |
7 | 8 | mc:Ignorable="d"
|
8 | 9 | d:DesignHeight="800" d:DesignWidth="600">
|
9 | 10 | <ScrollViewer>
|
10 |
| - <StackPanel Margin="16"> |
11 |
| - <TextBlock FontSize="16">Colour Zones</TextBlock> |
12 |
| - <TextBlock TextWrapping="Wrap" 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> |
13 |
| - <TextBlock Margin="0 16 0 0" FontSize="10">Invert the basic paper/body colours.</TextBlock> |
| 11 | + <codeDisplayer:XamlDisplayerPanel x:Name="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> |
| 15 | + <TextBlock Margin="0 16 0 0" FontSize="10">Invert the basic paper/body colours.</TextBlock> |
| 16 | + </StackPanel> |
14 | 17 | <materialDesign:ColorZone Mode="Inverted" Padding="16">
|
15 | 18 | <DockPanel>
|
16 | 19 | <materialDesign:PopupBox DockPanel.Dock="Right" PlacementMode="BottomAndAlignRightEdges">
|
|
26 | 29 | </StackPanel>
|
27 | 30 | </DockPanel>
|
28 | 31 | </materialDesign:ColorZone>
|
29 |
| - <TextBlock Margin="0 16 0 0" FontSize="10">Use primary light back and fore colours.</TextBlock> |
| 32 | + <TextBlock Margin="0 16 0 0" TextWrapping="Wrap" FontSize="10">Use primary light back and fore colours.</TextBlock> |
30 | 33 | <materialDesign:ColorZone Mode="PrimaryLight" Padding="16">
|
31 | 34 | <StackPanel Orientation="Horizontal">
|
32 | 35 | <ToggleButton Style="{DynamicResource MaterialDesignHamburgerToggleButton}" />
|
|
81 | 84 | <TextBlock VerticalAlignment="Center" Margin="16 0 0 0">Material Design In XAML Toolkit</TextBlock>
|
82 | 85 | </StackPanel>
|
83 | 86 | </materialDesign:ColorZone>
|
84 |
| - </StackPanel> |
| 87 | + </codeDisplayer:XamlDisplayerPanel> |
85 | 88 | </ScrollViewer>
|
86 |
| - |
87 | 89 | </UserControl>
|
0 commit comments