|
63 | 63 | IsChecked="{x:Bind IsChecked, Mode=TwoWay}" /> |
64 | 64 |
|
65 | 65 | <!-- Regular or package icon --> |
66 | | - <widgets:LocalIcon |
| 66 | + <TextBlock |
67 | 67 | Grid.Row="0" |
68 | 68 | Grid.Column="1" |
69 | 69 | Width="24" |
70 | 70 | HorizontalAlignment="Left" |
71 | 71 | VerticalAlignment="Center" |
| 72 | + widgets:IconBuilder.Icon="Package" |
72 | 73 | FontSize="24" |
73 | 74 | FontWeight="ExtraLight" |
74 | | - Icon="Package" |
75 | 75 | ToolTipService.ToolTip="{x:Bind ListedNameTooltip, Mode=OneWay}" |
76 | 76 | Visibility="{x:Bind ShowDefaultPackageIcon, Mode=OneWay}" /> |
77 | 77 |
|
|
86 | 86 | Visibility="{x:Bind ShowCustomPackageIcon, Mode=OneWay}" /> |
87 | 87 |
|
88 | 88 | <!-- Package tag icon --> |
89 | | - <widgets:LocalIcon |
| 89 | + <TextBlock |
90 | 90 | Grid.Row="0" |
91 | 91 | Grid.Column="1" |
92 | 92 | Width="20" |
93 | 93 | Height="20" |
94 | 94 | Margin="8,0,-4,-2" |
95 | 95 | HorizontalAlignment="Left" |
96 | 96 | VerticalAlignment="Bottom" |
| 97 | + widgets:IconBuilder.Icon="{x:Bind AlternateIconId, Mode=OneWay}" |
97 | 98 | FontSize="20" |
98 | 99 | FontWeight="ExtraLight" |
99 | 100 | Foreground="{ThemeResource AccentAAFillColorTertiaryBrush}" |
100 | | - Icon="{x:Bind AlternateIconId, Mode=OneWay}" |
101 | 101 | ToolTipService.ToolTip="{x:Bind ListedNameTooltip, Mode=OneWay}" |
102 | 102 | Visibility="{x:Bind AlternateIdIconVisible, Mode=OneWay}" /> |
103 | 103 |
|
104 | | - <widgets:LocalIcon |
| 104 | + <TextBlock |
105 | 105 | Grid.Row="0" |
106 | 106 | Grid.Column="1" |
107 | 107 | Width="20" |
108 | 108 | Height="20" |
109 | 109 | Margin="8,0,-4,-2" |
110 | 110 | HorizontalAlignment="Left" |
111 | 111 | VerticalAlignment="Bottom" |
| 112 | + widgets:IconBuilder.Icon="{x:Bind MainIconId, Mode=OneWay}" |
112 | 113 | FontSize="20" |
113 | 114 | FontWeight="ExtraLight" |
114 | | - Icon="{x:Bind MainIconId, Mode=OneWay}" |
115 | 115 | ToolTipService.ToolTip="{x:Bind ListedNameTooltip, Mode=OneWay}" |
116 | 116 | Visibility="{x:Bind AlternateIdIconVisible, Mode=OneWay}" /> |
117 | 117 |
|
|
124 | 124 | Text="{x:Bind Package.Name}" |
125 | 125 | ToolTipService.ToolTip="{x:Bind ListedNameTooltip, Mode=OneWay}" /> |
126 | 126 |
|
127 | | - <widgets:LocalIcon |
| 127 | + <TextBlock |
128 | 128 | Grid.Row="0" |
129 | 129 | Grid.Column="2" |
130 | 130 | HorizontalAlignment="Left" |
131 | 131 | VerticalAlignment="Center" |
| 132 | + widgets:IconBuilder.Icon="Id" |
132 | 133 | FontSize="24" |
133 | 134 | FontWeight="ExtraLight" |
134 | | - Icon="Id" |
135 | 135 | ToolTipService.ToolTip="{x:Bind Package.Id}" /> |
136 | 136 |
|
137 | 137 | <TextBlock |
|
143 | 143 | Text="{x:Bind Package.Id}" |
144 | 144 | ToolTipService.ToolTip="{x:Bind Package.Id}" /> |
145 | 145 |
|
146 | | - <widgets:LocalIcon |
| 146 | + <TextBlock |
147 | 147 | Grid.Row="0" |
148 | 148 | Grid.Column="3" |
149 | 149 | HorizontalAlignment="Left" |
150 | 150 | VerticalAlignment="Center" |
| 151 | + widgets:IconBuilder.Icon="version" |
151 | 152 | FontSize="24" |
152 | 153 | FontWeight="ExtraLight" |
153 | | - Icon="version" |
154 | 154 | ToolTipService.ToolTip="{x:Bind Package.VersionString}" /> |
155 | 155 |
|
156 | 156 | <TextBlock |
|
162 | 162 | Text="{x:Bind Package.VersionString, Mode=OneWay}" |
163 | 163 | ToolTipService.ToolTip="{x:Bind Package.VersionString}" /> |
164 | 164 |
|
165 | | - <widgets:LocalIcon |
| 165 | + <TextBlock |
166 | 166 | Grid.Row="0" |
167 | 167 | Grid.Column="4" |
168 | 168 | HorizontalAlignment="Left" |
169 | 169 | VerticalAlignment="Center" |
| 170 | + widgets:IconBuilder.Icon="download" |
170 | 171 | FontSize="24" |
171 | 172 | FontWeight="ExtraLight" |
172 | | - Icon="download" |
173 | 173 | ToolTipService.ToolTip="{x:Bind Package.NewVersionString}" |
174 | 174 | Visibility="{x:Bind Package.IsUpgradable}" /> |
175 | 175 |
|
|
183 | 183 | ToolTipService.ToolTip="{x:Bind Package.NewVersionString}" |
184 | 184 | Visibility="{x:Bind Package.IsUpgradable}" /> |
185 | 185 |
|
186 | | - <widgets:LocalIcon |
| 186 | + <TextBlock |
187 | 187 | Grid.Row="0" |
188 | 188 | Grid.Column="5" |
189 | 189 | HorizontalAlignment="Left" |
190 | 190 | VerticalAlignment="Center" |
| 191 | + widgets:IconBuilder.Icon="{x:Bind Package.Source.IconId}" |
191 | 192 | FontSize="24" |
192 | 193 | FontWeight="ExtraLight" |
193 | | - Icon="{x:Bind Package.Source.IconId}" |
194 | 194 | ToolTipService.ToolTip="{x:Bind Package.Source.AsString_DisplayName}" /> |
195 | 195 |
|
196 | 196 | <TextBlock |
|
231 | 231 | </Grid.ColumnDefinitions> |
232 | 232 |
|
233 | 233 | <!-- Regular or package icon --> |
234 | | - <widgets:LocalIcon |
| 234 | + <TextBlock |
235 | 235 | Grid.Column="0" |
236 | 236 | HorizontalAlignment="Center" |
237 | 237 | VerticalAlignment="Center" |
| 238 | + widgets:IconBuilder.Icon="Package" |
238 | 239 | FontSize="48" |
239 | 240 | FontWeight="ExtraLight" |
240 | | - Icon="Package" |
241 | 241 | ToolTipService.ToolTip="{x:Bind ListedNameTooltip, Mode=OneWay}" |
242 | 242 | Visibility="{x:Bind ShowDefaultPackageIcon, Mode=OneWay}" /> |
243 | 243 |
|
|
250 | 250 | ToolTipService.ToolTip="{x:Bind ListedNameTooltip, Mode=OneWay}" |
251 | 251 | Visibility="{x:Bind ShowCustomPackageIcon, Mode=OneWay}" /> |
252 | 252 |
|
253 | | - <widgets:LocalIcon |
| 253 | + <TextBlock |
254 | 254 | Grid.Column="0" |
255 | 255 | Margin="0,0,-4,-2" |
256 | 256 | HorizontalAlignment="Right" |
257 | 257 | VerticalAlignment="Bottom" |
| 258 | + widgets:IconBuilder.Icon="{x:Bind AlternateIconId, Mode=OneWay}" |
258 | 259 | FontSize="30" |
259 | 260 | FontWeight="ExtraLight" |
260 | 261 | Foreground="{ThemeResource AccentAAFillColorTertiaryBrush}" |
261 | | - Icon="{x:Bind AlternateIconId, Mode=OneWay}" |
262 | 262 | ToolTipService.ToolTip="{x:Bind ListedNameTooltip, Mode=OneWay}" |
263 | 263 | Visibility="{x:Bind AlternateIdIconVisible, Mode=OneWay}" /> |
264 | 264 |
|
265 | | - <widgets:LocalIcon |
| 265 | + <TextBlock |
266 | 266 | Grid.Column="0" |
267 | 267 | Margin="0,0,-4,-2" |
268 | 268 | HorizontalAlignment="Right" |
269 | 269 | VerticalAlignment="Bottom" |
| 270 | + widgets:IconBuilder.Icon="{x:Bind MainIconId, Mode=OneWay}" |
270 | 271 | FontSize="30" |
271 | 272 | FontWeight="ExtraLight" |
272 | | - Icon="{x:Bind MainIconId, Mode=OneWay}" |
273 | 273 | ToolTipService.ToolTip="{x:Bind ListedNameTooltip, Mode=OneWay}" |
274 | 274 | Visibility="{x:Bind AlternateIdIconVisible, Mode=OneWay}" /> |
275 | 275 |
|
|
279 | 279 | HorizontalAlignment="Left" |
280 | 280 | VerticalAlignment="Top" |
281 | 281 | IsChecked="{x:Bind IsChecked, Mode=TwoWay}" /> |
| 282 | + |
282 | 283 | <Button |
283 | 284 | Grid.Column="2" |
284 | 285 | Width="22" |
|
289 | 290 | BorderThickness="0" |
290 | 291 | Click="{x:Bind RightClick}" |
291 | 292 | Tapped="ContextMenuButton_Tapped"> |
292 | | - <SymbolIcon Symbol="More" /> |
| 293 | + <TextBlock widgets:IconBuilder.Glyph="" FontSize="18" /> |
293 | 294 | </Button> |
294 | 295 |
|
295 | 296 | <TextBlock |
|
349 | 350 | </Grid.ColumnDefinitions> |
350 | 351 |
|
351 | 352 | <!-- Regular or package icon --> |
352 | | - <widgets:LocalIcon |
| 353 | + <TextBlock |
353 | 354 | Grid.Row="1" |
354 | 355 | Height="64" |
355 | 356 | Margin="0,-8,0,4" |
356 | 357 | HorizontalAlignment="Center" |
357 | 358 | VerticalAlignment="Center" |
| 359 | + widgets:IconBuilder.Icon="Package" |
358 | 360 | FontSize="74" |
359 | 361 | FontWeight="ExtraLight" |
360 | | - Icon="Package" |
361 | 362 | ToolTipService.ToolTip="{x:Bind ListedNameTooltip, Mode=OneWay}" |
362 | 363 | Visibility="{x:Bind ShowDefaultPackageIcon, Mode=OneWay}" /> |
363 | 364 |
|
|
372 | 373 | ToolTipService.ToolTip="{x:Bind ListedNameTooltip, Mode=OneWay}" |
373 | 374 | Visibility="{x:Bind ShowCustomPackageIcon, Mode=OneWay}" /> |
374 | 375 |
|
375 | | - <widgets:LocalIcon |
| 376 | + <TextBlock |
376 | 377 | Grid.Row="1" |
377 | 378 | Margin="0,0,20,-2" |
378 | 379 | HorizontalAlignment="Right" |
379 | 380 | VerticalAlignment="Bottom" |
| 381 | + widgets:IconBuilder.Icon="{x:Bind AlternateIconId, Mode=OneWay}" |
380 | 382 | FontSize="40" |
381 | 383 | FontWeight="ExtraLight" |
382 | 384 | Foreground="{ThemeResource AccentAAFillColorTertiaryBrush}" |
383 | | - Icon="{x:Bind AlternateIconId, Mode=OneWay}" |
384 | 385 | ToolTipService.ToolTip="{x:Bind ListedNameTooltip, Mode=OneWay}" |
385 | 386 | Visibility="{x:Bind AlternateIdIconVisible, Mode=OneWay}" /> |
386 | 387 |
|
387 | | - <widgets:LocalIcon |
| 388 | + <TextBlock |
388 | 389 | Grid.Row="1" |
389 | 390 | Margin="0,0,20,-2" |
390 | 391 | HorizontalAlignment="Right" |
391 | 392 | VerticalAlignment="Bottom" |
| 393 | + widgets:IconBuilder.Icon="{x:Bind MainIconId, Mode=OneWay}" |
392 | 394 | FontSize="40" |
393 | 395 | FontWeight="ExtraLight" |
394 | | - Icon="{x:Bind MainIconId, Mode=OneWay}" |
395 | 396 | ToolTipService.ToolTip="{x:Bind ListedNameTooltip, Mode=OneWay}" |
396 | 397 | Visibility="{x:Bind AlternateIdIconVisible, Mode=OneWay}" /> |
397 | 398 |
|
|
412 | 413 | BorderThickness="0" |
413 | 414 | Click="{x:Bind RightClick}" |
414 | 415 | Tapped="ContextMenuButton_Tapped"> |
415 | | - <SymbolIcon Symbol="More" /> |
| 416 | + <TextBlock widgets:IconBuilder.Glyph="" FontSize="18" /> |
416 | 417 | </Button> |
417 | 418 |
|
418 | 419 | <TextBlock |
|
604 | 605 | <StackPanel Orientation="Horizontal" Spacing="4"> |
605 | 606 |
|
606 | 607 | <widgets:TranslatedTextBlock VerticalAlignment="Center" Text="View mode:" /> |
607 | | - <Toolkit:Segmented x:Name="ViewModeSelector" SelectionMode="Single"> |
| 608 | + <Toolkit:Segmented |
| 609 | + x:Name="ViewModeSelector" |
| 610 | + SelectionChanged="ViewModeSelector_SelectionChanged" |
| 611 | + SelectionMode="Single"> |
608 | 612 | <Toolkit:SegmentedItem Icon="{ui:FontIcon Glyph=}" ToolTipService.ToolTip="List" /> |
609 | 613 | <Toolkit:SegmentedItem Icon="{ui:FontIcon Glyph=}" ToolTipService.ToolTip="Grid" /> |
610 | 614 | <Toolkit:SegmentedItem Icon="{ui:FontIcon Glyph=}" ToolTipService.ToolTip="Icons" /> |
|
0 commit comments