|
40 | 40 | <Button Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}" |
41 | 41 | Margin="0 0 8 0" HorizontalAlignment="Left" |
42 | 42 | ToolTip="MaterialDesignFloatingActionMiniLightButton"> |
43 | | - <Viewbox Width="24" Height="24"> |
44 | | - <Canvas Width="24" Height="24"> |
45 | | - <Path Data="M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22A9,9 0 0,0 21,13A9,9 0 0,0 12,4M12.5,8H11V14L15.75,16.85L16.5,15.62L12.5,13.25V8M7.88,3.39L6.6,1.86L2,5.71L3.29,7.24L7.88,3.39M22,5.72L17.4,1.86L16.11,3.39L20.71,7.25L22,5.72Z" Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Button}, Path=Foreground}" /> |
46 | | - </Canvas> |
47 | | - </Viewbox> |
| 43 | + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> |
48 | 44 | </Button> |
49 | 45 | <Button Style="{StaticResource MaterialDesignFloatingActionMiniButton}" |
50 | 46 | Margin="0 0 8 0" HorizontalAlignment="Left" |
51 | 47 | ToolTip="MaterialDesignFloatingActionMiniButton"> |
52 | | - <Viewbox Width="24" Height="24"> |
53 | | - <Canvas Width="24" Height="24"> |
54 | | - <Path Data="M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22A9,9 0 0,0 21,13A9,9 0 0,0 12,4M12.5,8H11V14L15.75,16.85L16.5,15.62L12.5,13.25V8M7.88,3.39L6.6,1.86L2,5.71L3.29,7.24L7.88,3.39M22,5.72L17.4,1.86L16.11,3.39L20.71,7.25L22,5.72Z" Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Button}, Path=Foreground}" /> |
55 | | - </Canvas> |
56 | | - </Viewbox> |
| 48 | + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> |
57 | 49 | </Button> |
58 | 50 | <Button Style="{StaticResource MaterialDesignFloatingActionMiniDarkButton}" |
59 | 51 | Margin="0 0 8 0" HorizontalAlignment="Left" |
60 | 52 | ToolTip="MaterialDesignFloatingActionMiniDarkButton"> |
61 | | - <Viewbox Width="24" Height="24"> |
62 | | - <Canvas Width="24" Height="24"> |
63 | | - <Path Data="M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22A9,9 0 0,0 21,13A9,9 0 0,0 12,4M12.5,8H11V14L15.75,16.85L16.5,15.62L12.5,13.25V8M7.88,3.39L6.6,1.86L2,5.71L3.29,7.24L7.88,3.39M22,5.72L17.4,1.86L16.11,3.39L20.71,7.25L22,5.72Z" Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Button}, Path=Foreground}" /> |
64 | | - </Canvas> |
65 | | - </Viewbox> |
| 53 | + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> |
66 | 54 | </Button> |
67 | 55 | <Button Style="{StaticResource MaterialDesignFloatingActionMiniAccentButton}" |
68 | 56 | Margin="0 0 8 0" HorizontalAlignment="Left" |
69 | 57 | ToolTip="MaterialDesignFloatingActionMiniAccentButton"> |
70 | | - <Viewbox Width="24" Height="24"> |
71 | | - <Canvas Width="24" Height="24"> |
72 | | - <Path Data="M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22A9,9 0 0,0 21,13A9,9 0 0,0 12,4M12.5,8H11V14L15.75,16.85L16.5,15.62L12.5,13.25V8M7.88,3.39L6.6,1.86L2,5.71L3.29,7.24L7.88,3.39M22,5.72L17.4,1.86L16.11,3.39L20.71,7.25L22,5.72Z" Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Button}, Path=Foreground}" /> |
73 | | - </Canvas> |
74 | | - </Viewbox> |
| 58 | + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> |
75 | 59 | </Button> |
76 | 60 | <Button Style="{StaticResource MaterialDesignFloatingActionLightButton}" |
77 | 61 | Margin="0 0 8 0" HorizontalAlignment="Left" |
78 | 62 | ToolTip="MaterialDesignFloatingActionLightButton"> |
79 | | - <Viewbox Width="24" Height="24"> |
80 | | - <Canvas Width="24" Height="24"> |
81 | | - <Path Data="M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22A9,9 0 0,0 21,13A9,9 0 0,0 12,4M12.5,8H11V14L15.75,16.85L16.5,15.62L12.5,13.25V8M7.88,3.39L6.6,1.86L2,5.71L3.29,7.24L7.88,3.39M22,5.72L17.4,1.86L16.11,3.39L20.71,7.25L22,5.72Z" Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Button}, Path=Foreground}" /> |
82 | | - </Canvas> |
83 | | - </Viewbox> |
| 63 | + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> |
84 | 64 | </Button> |
85 | 65 | <Button Style="{StaticResource MaterialDesignFloatingActionButton}" |
86 | 66 | Margin="0 0 8 0" HorizontalAlignment="Left" |
87 | 67 | ToolTip="MaterialDesignFloatingActionButton"> |
88 | | - <Viewbox Width="24" Height="24"> |
89 | | - <Canvas Width="24" Height="24"> |
90 | | - <Path Data="M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22A9,9 0 0,0 21,13A9,9 0 0,0 12,4M12.5,8H11V14L15.75,16.85L16.5,15.62L12.5,13.25V8M7.88,3.39L6.6,1.86L2,5.71L3.29,7.24L7.88,3.39M22,5.72L17.4,1.86L16.11,3.39L20.71,7.25L22,5.72Z" Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Button}, Path=Foreground}" /> |
91 | | - </Canvas> |
92 | | - </Viewbox> |
| 68 | + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> |
93 | 69 | </Button> |
94 | 70 | <Button Style="{StaticResource MaterialDesignFloatingActionDarkButton}" |
95 | 71 | Margin="0 0 8 0" HorizontalAlignment="Left" |
96 | 72 | ToolTip="MaterialDesignFloatingActionDarkButton"> |
97 | | - <Viewbox Width="24" Height="24"> |
98 | | - <Canvas Width="24" Height="24"> |
99 | | - <Path Data="M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22A9,9 0 0,0 21,13A9,9 0 0,0 12,4M12.5,8H11V14L15.75,16.85L16.5,15.62L12.5,13.25V8M7.88,3.39L6.6,1.86L2,5.71L3.29,7.24L7.88,3.39M22,5.72L17.4,1.86L16.11,3.39L20.71,7.25L22,5.72Z" Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Button}, Path=Foreground}" /> |
100 | | - </Canvas> |
101 | | - </Viewbox> |
| 73 | + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> |
102 | 74 | </Button> |
103 | 75 | <Button Style="{StaticResource MaterialDesignFloatingActionAccentButton}" |
104 | 76 | Margin="0 0 8 0" HorizontalAlignment="Left" |
105 | 77 | ToolTip="MaterialDesignFloatingActionAccentButton"> |
106 | | - <Viewbox Width="24" Height="24"> |
107 | | - <Canvas Width="24" Height="24"> |
108 | | - <Path Data="M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22A9,9 0 0,0 21,13A9,9 0 0,0 12,4M12.5,8H11V14L15.75,16.85L16.5,15.62L12.5,13.25V8M7.88,3.39L6.6,1.86L2,5.71L3.29,7.24L7.88,3.39M22,5.72L17.4,1.86L16.11,3.39L20.71,7.25L22,5.72Z" Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Button}, Path=Foreground}" /> |
109 | | - </Canvas> |
110 | | - </Viewbox> |
| 78 | + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> |
111 | 79 | </Button> |
112 | 80 | <materialDesign:PopupBox Style="{StaticResource MaterialDesignMultiFloatingActionPopupBox}" |
113 | 81 | PlacementMode="BottomAndAlignCentres" |
|
128 | 96 | Margin="0 0 48 0" |
129 | 97 | ToolTip="PopupBox, Style MaterialDesignMultiFloatingActionAccentPopupBox"> |
130 | 98 | <materialDesign:PopupBox.ToggleCheckedContent> |
131 | | - <Viewbox Width="24" Height="24"> |
132 | | - <Canvas Width="24" Height="24"> |
133 | | - <Path Data="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z" Fill="Black" /> |
134 | | - </Canvas> |
135 | | - </Viewbox> |
| 99 | + <materialDesign:PackIcon Kind="Pencil" Width="24" Height="24" /> |
136 | 100 | </materialDesign:PopupBox.ToggleCheckedContent> |
137 | 101 | <StackPanel> |
138 | 102 | <Button ToolTip="One">1</Button> |
|
203 | 167 | </StackPanel> |
204 | 168 | <StackPanel Grid.Row="8" Margin="0 16 0 0" Orientation="Horizontal"> |
205 | 169 | <ToggleButton Style="{StaticResource MaterialDesignFlatToggleButton}"> |
206 | | - <Viewbox Width="21" Height="21"> |
207 | | - <Canvas Width="24" Height="24"> |
208 | | - <Path Data="M16.5,6V17.5A4,4 0 0,1 12.5,21.5A4,4 0 0,1 8.5,17.5V5A2.5,2.5 0 0,1 11,2.5A2.5,2.5 0 0,1 13.5,5V15.5A1,1 0 0,1 12.5,16.5A1,1 0 0,1 11.5,15.5V6H10V15.5A2.5,2.5 0 0,0 12.5,18A2.5,2.5 0 0,0 15,15.5V5A4,4 0 0,0 11,1A4,4 0 0,0 7,5V17.5A5.5,5.5 0 0,0 12.5,23A5.5,5.5 0 0,0 18,17.5V6H16.5Z" |
209 | | - StrokeThickness="4" |
210 | | - Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ToggleButton}}, Path=Foreground}" /> |
211 | | - </Canvas> |
212 | | - </Viewbox> |
| 170 | + <materialDesign:PackIcon Kind="Paperclip" Height="21" Width="21" /> |
213 | 171 | </ToggleButton> |
214 | 172 | <ToggleButton Style="{StaticResource MaterialDesignFlatPrimaryToggleButton}" |
215 | | - Margin="8 0 0 0" |
| 173 | + Margin="8 0 0 0" |
216 | 174 | IsChecked="True"> |
217 | | - <Viewbox Width="21" Height="21"> |
218 | | - <Canvas Width="24" Height="24"> |
219 | | - <Path Data="M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z" |
220 | | - Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ToggleButton}}, Path=Foreground}" /> |
221 | | - </Canvas> |
222 | | - </Viewbox> |
| 175 | + <materialDesign:PackIcon Kind="Heart" Height="21" Width="21" /> |
223 | 176 | </ToggleButton> |
224 | 177 | <ToggleButton Style="{StaticResource MaterialDesignFlatPrimaryToggleButton}" |
225 | | - IsEnabled="False" Margin="8 0 0 0"> |
226 | | - <Viewbox Width="21" Height="21"> |
227 | | - <Canvas Width="24" Height="24"> |
228 | | - <Path Data="M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z" |
229 | | - Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ToggleButton}}, Path=Foreground}" /> |
230 | | - </Canvas> |
231 | | - </Viewbox> |
| 178 | + IsEnabled="False" Margin="8 0 0 0"> |
| 179 | + <materialDesign:PackIcon Kind="Heart" Height="21" Width="21" /> |
232 | 180 | </ToggleButton> |
233 | 181 | </StackPanel> |
234 | 182 | <TextBlock Margin="0 24 0 0" Grid.Row="9">Rating bar</TextBlock> |
|
239 | 187 | <materialDesign:RatingBar.ValueItemTemplate> |
240 | 188 | <DataTemplate DataType="system:Int32"> |
241 | 189 | <Grid> |
242 | | - <Viewbox Width="24" Height="24"> |
243 | | - <Canvas Width="24" Height="24"> |
244 | | - <Path Data="M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z" |
245 | | - Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Control}, Path=Foreground}" /> |
246 | | - </Canvas> |
247 | | - </Viewbox> |
| 190 | + <materialDesign:PackIcon Kind="Heart" Height="24" Width="24" /> |
248 | 191 | <TextBlock Text="{Binding}" HorizontalAlignment="Center" VerticalAlignment="Center" |
249 | 192 | FontSize="8" |
250 | 193 | Foreground="{DynamicResource PrimaryHueMidForegroundBrush}"/> |
|
0 commit comments