Skip to content

Commit acd9112

Browse files
committed
Update
1 parent bfdba83 commit acd9112

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

src/Files.App.Controls/ThemedIcon/ThemedIcon.Properties.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66

77
namespace Files.App.Controls
88
{
9-
[DependencyProperty<string>("FilledIconData", nameof(OnFilledIconPropertyChanged))]
10-
[DependencyProperty<string>("OutlineIconData", nameof(OnOutlineIconPropertyChanged))]
9+
[DependencyProperty<string>("FilledIconData", nameof(OnFilledIconPropertyChanged), DefaultValue = "string.Empty")]
10+
[DependencyProperty<string>("OutlineIconData", nameof(OnOutlineIconPropertyChanged), DefaultValue = "string.Empty")]
1111
[DependencyProperty<Brush>("Color", nameof(OnColorPropertyChanged))]
12-
[DependencyProperty<ThemedIconTypes>("IconType", nameof(OnIconTypePropertyChanged))]
13-
[DependencyProperty<ThemedIconColorType>("IconColorType", nameof(OnIconColorTypePropertyChanged))]
14-
[DependencyProperty<double>("IconSize", nameof(OnIconSizePropertyChanged))]
15-
[DependencyProperty<bool>("IsToggled", nameof(OnIsToggledPropertyChanged))]
16-
[DependencyProperty<bool>("IsFilled", nameof(OnIsFilledPropertyChanged))]
17-
[DependencyProperty<bool>("IsHighContrast", nameof(OnIsHighContrastPropertyChanged))]
12+
[DependencyProperty<ThemedIconTypes>("IconType", nameof(OnIconTypePropertyChanged), DefaultValue = "ThemedIconTypes.Layered")]
13+
[DependencyProperty<ThemedIconColorType>("IconColorType", nameof(OnIconColorTypePropertyChanged), DefaultValue = "ThemedIconColorType.None")]
14+
[DependencyProperty<double>("IconSize", nameof(OnIconSizePropertyChanged), DefaultValue = "(double)16")]
15+
[DependencyProperty<bool>("IsToggled", nameof(OnIsToggledPropertyChanged), DefaultValue = "false")]
16+
[DependencyProperty<bool>("IsFilled", nameof(OnIsFilledPropertyChanged), DefaultValue = "false")]
17+
[DependencyProperty<bool>("IsHighContrast", nameof(OnIsHighContrastPropertyChanged), DefaultValue = "false")]
1818
[DependencyProperty<object>("Layers", nameof(OnLayersPropertyChanged))]
1919
public partial class ThemedIcon : Control
2020
{

src/Files.App/UserControls/DataGridHeader.xaml.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
using Microsoft.UI.Xaml;
55
using Microsoft.UI.Xaml.Controls;
6-
using System.Runtime.CompilerServices;
76
using System.Windows.Input;
87

98
namespace Files.App.UserControls

0 commit comments

Comments
 (0)