|
42 | 42 | <ColumnDefinition Width="*" />
|
43 | 43 | <ColumnDefinition Width="Auto" />
|
44 | 44 | </Grid.ColumnDefinitions>
|
45 |
| - <Viewbox Width="16" Height="16" VerticalAlignment="Center" Opacity=".56"> |
46 |
| - <Canvas Width="24" Height="24"> |
47 |
| - <Path Data="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z" |
48 |
| - Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:ColorZone}, Path=Foreground}" /> |
49 |
| - </Canvas> |
50 |
| - </Viewbox> |
51 |
| - <TextBox Grid.Column="1" Margin="8 0 0 0" wpf:TextField.Hint="Build a search bar" MinWidth="200" /> |
52 |
| - <Viewbox Grid.Column="2" Width="16" Height="16" Margin="8 0 0 0" Opacity=".56"> |
53 |
| - <Canvas Width="24" Height="24"> |
54 |
| - <Path Data="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z" |
55 |
| - Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:ColorZone}, Path=Foreground}" /> |
56 |
| - </Canvas> |
57 |
| - </Viewbox> |
| 45 | + <Button Style="{DynamicResource MaterialDesignToolButton}"> |
| 46 | + <Viewbox Width="16" Height="16" VerticalAlignment="Center" Opacity=".56"> |
| 47 | + <Canvas Width="24" Height="24"> |
| 48 | + <Path Data="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z" |
| 49 | + Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:ColorZone}, Path=Foreground}" /> |
| 50 | + </Canvas> |
| 51 | + </Viewbox> |
| 52 | + </Button> |
| 53 | + <TextBox Grid.Column="1" Margin="8 0 0 0" wpf:TextField.Hint="Build a search bar" MinWidth="200" VerticalAlignment="Center" /> |
| 54 | + <Button Style="{DynamicResource MaterialDesignToolButton}" Grid.Column="2"> |
| 55 | + <Viewbox Width="16" Height="16" Margin="8 0 0 0" Opacity=".56"> |
| 56 | + <Canvas Width="24" Height="24"> |
| 57 | + <Path Data="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z" |
| 58 | + Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:ColorZone}, Path=Foreground}" /> |
| 59 | + </Canvas> |
| 60 | + </Viewbox> |
| 61 | + </Button> |
58 | 62 | </Grid>
|
59 | 63 | </wpf:ColorZone>
|
60 | 64 | </StackPanel>
|
61 | 65 | </wpf:ColorZone>
|
62 | 66 | <TextBlock Margin="0 16 0 0" FontSize="10">Add in a corner radius and shadow.</TextBlock>
|
63 |
| - <wpf:ColorZone Mode="PrimaryDark" Padding="16" CornerRadius="3" Effect="{DynamicResource MaterialDesignShadowDepth3}"> |
| 67 | + <wpf:ColorZone Mode="PrimaryDark" Padding="16" CornerRadius="3" Effect="{DynamicResource MaterialDesignShadowDepth3}" Margin="2"> |
64 | 68 | <StackPanel Orientation="Horizontal">
|
65 | 69 | <ToggleButton Style="{DynamicResource MaterialDesignHamburgerToggleButton}" />
|
66 | 70 | <TextBlock VerticalAlignment="Center" Margin="16 0 0 0">Material Design In XAML Toolkit</TextBlock>
|
|
0 commit comments