|
42 | 42 | <materialDesign:DrawerHost
|
43 | 43 | x:Name="DrawerHost"
|
44 | 44 | Margin="32"
|
| 45 | + Height="480" Width="480" |
45 | 46 | HorizontalAlignment="Center"
|
46 | 47 | VerticalAlignment="Center"
|
47 | 48 | BorderThickness="2"
|
48 |
| - BorderBrush="{DynamicResource MaterialDesignDivider}"> |
| 49 | + BorderBrush="{DynamicResource MaterialDesignDivider}" |
| 50 | + BottomDrawerCornerRadius="20 20 0 0" |
| 51 | + BottomDrawerBackground="{DynamicResource SecondaryHueLightBrush}"> |
49 | 52 |
|
50 | 53 | <materialDesign:DrawerHost.Style>
|
51 | 54 | <Style TargetType="materialDesign:DrawerHost" BasedOn="{StaticResource {x:Type materialDesign:DrawerHost}}">
|
|
140 | 143 | <TextBlock
|
141 | 144 | Margin="4"
|
142 | 145 | VerticalAlignment="Center"
|
143 |
| - Text="BOTTOM BRACKET"/> |
| 146 | + Text="BOTTOM BRACKET" |
| 147 | + Foreground="{DynamicResource SecondaryHueLightBrushForeground}"/> |
144 | 148 |
|
145 | 149 | <Button
|
146 | 150 | Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}"
|
|
160 | 164 | </materialDesign:DrawerHost.BottomDrawerContent>
|
161 | 165 |
|
162 | 166 | <Grid
|
163 |
| - MinWidth="480" |
164 |
| - MinHeight="480"> |
165 |
| - <Grid |
166 |
| - VerticalAlignment="Center" |
167 |
| - HorizontalAlignment="Center"> |
168 |
| - <Grid.RowDefinitions> |
169 |
| - <RowDefinition /> |
170 |
| - <RowDefinition /> |
171 |
| - <RowDefinition /> |
172 |
| - </Grid.RowDefinitions> |
173 |
| - |
174 |
| - <Grid.ColumnDefinitions> |
175 |
| - <ColumnDefinition /> |
176 |
| - <ColumnDefinition /> |
177 |
| - <ColumnDefinition /> |
178 |
| - </Grid.ColumnDefinitions> |
179 |
| - |
180 |
| - <Button |
181 |
| - Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
182 |
| - CommandParameter="{x:Static Dock.Left}" |
183 |
| - Grid.Row="1" |
184 |
| - Grid.Column="0" |
185 |
| - Margin="4" |
186 |
| - Content="{materialDesign:PackIcon Kind=ArrowLeft}"/> |
187 |
| - |
188 |
| - <Button |
189 |
| - Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
190 |
| - CommandParameter="{x:Static Dock.Top}" |
191 |
| - Grid.Row="0" |
192 |
| - Grid.Column="1" |
193 |
| - Margin="4" |
194 |
| - Content="{materialDesign:PackIcon Kind=ArrowUp}"/> |
195 |
| - |
196 |
| - <Button |
197 |
| - Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
198 |
| - CommandParameter="{x:Static Dock.Right}" |
199 |
| - Grid.Row="1" |
200 |
| - Grid.Column="2" |
201 |
| - Margin="4" |
202 |
| - Content="{materialDesign:PackIcon Kind=ArrowRight}"/> |
203 |
| - |
204 |
| - <Button |
205 |
| - Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
206 |
| - CommandParameter="{x:Static Dock.Bottom}" |
207 |
| - Grid.Row="2" |
208 |
| - Grid.Column="1" |
209 |
| - Margin="4" |
210 |
| - Content="{materialDesign:PackIcon Kind=ArrowDown}"/> |
211 |
| - |
212 |
| - <Button |
213 |
| - Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
214 |
| - Grid.Row="1" |
215 |
| - Grid.Column="1" |
216 |
| - Margin="4" |
217 |
| - Style="{DynamicResource MaterialDesignRaisedAccentButton}" |
218 |
| - Content="{materialDesign:PackIcon Kind=ArrowAll}"/> |
219 |
| - </Grid> |
| 167 | + VerticalAlignment="Center" |
| 168 | + HorizontalAlignment="Center"> |
| 169 | + <Grid.RowDefinitions> |
| 170 | + <RowDefinition /> |
| 171 | + <RowDefinition /> |
| 172 | + <RowDefinition /> |
| 173 | + </Grid.RowDefinitions> |
| 174 | + |
| 175 | + <Grid.ColumnDefinitions> |
| 176 | + <ColumnDefinition /> |
| 177 | + <ColumnDefinition /> |
| 178 | + <ColumnDefinition /> |
| 179 | + </Grid.ColumnDefinitions> |
| 180 | + |
| 181 | + <Button |
| 182 | + Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
| 183 | + CommandParameter="{x:Static Dock.Left}" |
| 184 | + Grid.Row="1" |
| 185 | + Grid.Column="0" |
| 186 | + Margin="4" |
| 187 | + Content="{materialDesign:PackIcon Kind=ArrowLeft}"/> |
| 188 | + |
| 189 | + <Button |
| 190 | + Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
| 191 | + CommandParameter="{x:Static Dock.Top}" |
| 192 | + Grid.Row="0" |
| 193 | + Grid.Column="1" |
| 194 | + Margin="4" |
| 195 | + Content="{materialDesign:PackIcon Kind=ArrowUp}"/> |
| 196 | + |
| 197 | + <Button |
| 198 | + Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
| 199 | + CommandParameter="{x:Static Dock.Right}" |
| 200 | + Grid.Row="1" |
| 201 | + Grid.Column="2" |
| 202 | + Margin="4" |
| 203 | + Content="{materialDesign:PackIcon Kind=ArrowRight}"/> |
| 204 | + |
| 205 | + <Button |
| 206 | + Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
| 207 | + CommandParameter="{x:Static Dock.Bottom}" |
| 208 | + Grid.Row="2" |
| 209 | + Grid.Column="1" |
| 210 | + Margin="4" |
| 211 | + Content="{materialDesign:PackIcon Kind=ArrowDown}"/> |
| 212 | + |
| 213 | + <Button |
| 214 | + Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" |
| 215 | + Grid.Row="1" |
| 216 | + Grid.Column="1" |
| 217 | + Margin="4" |
| 218 | + Style="{DynamicResource MaterialDesignRaisedAccentButton}" |
| 219 | + Content="{materialDesign:PackIcon Kind=ArrowAll}"/> |
220 | 220 | </Grid>
|
| 221 | + |
221 | 222 | </materialDesign:DrawerHost>
|
222 | 223 | </smtx:XamlDisplay>
|
223 | 224 | </DockPanel>
|
|
0 commit comments