|
32 | 32 | <materialDesign:DrawerHost>
|
33 | 33 | <materialDesign:DrawerHost.LeftDrawerContent>
|
34 | 34 | <StackPanel Margin="16">
|
35 |
| - <TextBlock>LEFT STUFF</TextBlock> |
36 |
| - <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}"> |
37 |
| - Close |
| 35 | + <TextBlock Margin="4" HorizontalAlignment="Center">LEFT FIELD</TextBlock> |
| 36 | + <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}" |
| 37 | + CommandParameter="{x:Static Dock.Left}" |
| 38 | + Margin="4" HorizontalAlignment="Center" |
| 39 | + Style="{DynamicResource MaterialDesignFlatButton}"> |
| 40 | + CLOSE THIS |
| 41 | + </Button> |
| 42 | + <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}" |
| 43 | + Margin="4" HorizontalAlignment="Center" |
| 44 | + Style="{DynamicResource MaterialDesignFlatButton}"> |
| 45 | + CLOSE ALL |
38 | 46 | </Button>
|
39 | 47 | </StackPanel>
|
40 | 48 | </materialDesign:DrawerHost.LeftDrawerContent>
|
41 | 49 | <materialDesign:DrawerHost.TopDrawerContent>
|
42 |
| - <StackPanel Margin="16" HorizontalAlignment="Center"> |
43 |
| - <TextBlock>TOP STUFF</TextBlock> |
| 50 | + <StackPanel Margin="16" HorizontalAlignment="Center" Orientation="Horizontal"> |
| 51 | + <TextBlock Margin="4" VerticalAlignment="Center">TOP BANANA</TextBlock> |
44 | 52 | <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}"
|
45 |
| - Style="{DynamicResource MaterialDesignFlatButton}"> |
46 |
| - Close |
| 53 | + Style="{DynamicResource MaterialDesignFlatButton}" |
| 54 | + Margin="4" VerticalAlignment="Center"> |
| 55 | + CLOSE ALL |
| 56 | + </Button> |
| 57 | + <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}" |
| 58 | + CommandParameter="{x:Static Dock.Top}" |
| 59 | + Style="{DynamicResource MaterialDesignFlatButton}" |
| 60 | + Margin="4" VerticalAlignment="Center"> |
| 61 | + CLOSE THIS |
47 | 62 | </Button>
|
48 | 63 | </StackPanel>
|
49 | 64 | </materialDesign:DrawerHost.TopDrawerContent>
|
50 | 65 | <materialDesign:DrawerHost.RightDrawerContent>
|
51 | 66 | <StackPanel Margin="16">
|
52 |
| - <TextBlock> Hello World</TextBlock> |
53 |
| - <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}"> |
54 |
| - Close |
| 67 | + <TextBlock Margin="4" HorizontalAlignment="Center">THE RIGHT STUFF</TextBlock> |
| 68 | + <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}" |
| 69 | + CommandParameter="{x:Static Dock.Right}" |
| 70 | + Margin="4" HorizontalAlignment="Center" |
| 71 | + Style="{DynamicResource MaterialDesignFlatButton}"> |
| 72 | + CLOSE THIS |
| 73 | + </Button> |
| 74 | + <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}" |
| 75 | + Margin="4" HorizontalAlignment="Center" |
| 76 | + Style="{DynamicResource MaterialDesignFlatButton}"> |
| 77 | + CLOSE ALL |
55 | 78 | </Button>
|
56 | 79 | </StackPanel>
|
57 | 80 | </materialDesign:DrawerHost.RightDrawerContent>
|
58 | 81 | <materialDesign:DrawerHost.BottomDrawerContent>
|
59 |
| - <StackPanel Margin="16" HorizontalAlignment="Center"> |
60 |
| - <TextBlock>BOTTOM STUFF</TextBlock> |
| 82 | + <StackPanel Margin="16" HorizontalAlignment="Center" Orientation="Horizontal"> |
| 83 | + <TextBlock Margin="4" VerticalAlignment="Center">BOTTOM BRACKET</TextBlock> |
61 | 84 | <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}"
|
62 |
| - Style="{DynamicResource MaterialDesignFlatButton}"> |
63 |
| - Close |
| 85 | + Style="{DynamicResource MaterialDesignFlatButton}" |
| 86 | + Margin="4" VerticalAlignment="Center"> |
| 87 | + CLOSE ALL |
| 88 | + </Button> |
| 89 | + <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}" |
| 90 | + CommandParameter="{x:Static Dock.Bottom}" |
| 91 | + Style="{DynamicResource MaterialDesignFlatButton}" |
| 92 | + Margin="4" VerticalAlignment="Center"> |
| 93 | + CLOSE THIS |
64 | 94 | </Button>
|
65 | 95 | </StackPanel>
|
66 | 96 | </materialDesign:DrawerHost.BottomDrawerContent>
|
67 |
| - <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
68 |
| - <Button Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}"> |
69 |
| - Open sesame |
| 97 | + |
| 98 | + <Grid VerticalAlignment="Center" HorizontalAlignment="Center"> |
| 99 | + <Grid.RowDefinitions> |
| 100 | + <RowDefinition /> |
| 101 | + <RowDefinition /> |
| 102 | + <RowDefinition /> |
| 103 | + </Grid.RowDefinitions> |
| 104 | + <Grid.ColumnDefinitions> |
| 105 | + <ColumnDefinition /> |
| 106 | + <ColumnDefinition /> |
| 107 | + <ColumnDefinition /> |
| 108 | + </Grid.ColumnDefinitions> |
| 109 | + <Button Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
| 110 | + CommandParameter="{x:Static Dock.Left}" |
| 111 | + Grid.Row="1" Grid.Column="0" Margin="4"> |
| 112 | + <materialDesign:PackIcon Kind="ArrowLeft" /> |
| 113 | + </Button> |
| 114 | + <Button Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
| 115 | + CommandParameter="{x:Static Dock.Top}" |
| 116 | + Grid.Row="0" Grid.Column="1" Margin="4"> |
| 117 | + <materialDesign:PackIcon Kind="ArrowUp" /> |
| 118 | + </Button> |
| 119 | + <Button Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
| 120 | + CommandParameter="{x:Static Dock.Right}" |
| 121 | + Grid.Row="1" Grid.Column="2" Margin="4"> |
| 122 | + <materialDesign:PackIcon Kind="ArrowRight" /> |
| 123 | + </Button> |
| 124 | + <Button Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
| 125 | + CommandParameter="{x:Static Dock.Bottom}" |
| 126 | + Grid.Row="2" Grid.Column="1" Margin="4"> |
| 127 | + <materialDesign:PackIcon Kind="ArrowDown" /> |
| 128 | + </Button> |
| 129 | + <Button Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
| 130 | + Grid.Row="1" Grid.Column="1" Margin="4" |
| 131 | + Style="{DynamicResource MaterialDesignRaisedAccentButton}"> |
| 132 | + <materialDesign:PackIcon Kind="ArrowAll" /> |
70 | 133 | </Button>
|
71 |
| - </StackPanel> |
| 134 | + </Grid> |
72 | 135 | </materialDesign:DrawerHost>
|
73 | 136 |
|
74 | 137 | </UserControl>
|
0 commit comments