Skip to content

Commit

Permalink
Code Quality: Fixed an issue where DataGridHeader is disabled by defa…
Browse files Browse the repository at this point in the history
…ult (#16105)
  • Loading branch information
0x5bfa authored Aug 30, 2024
1 parent c75d3d7 commit 6924a31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Files.App/UserControls/DataGridHeader.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace Files.App.UserControls
{
[DependencyProperty<string>("Header")]
[DependencyProperty<bool>("CanBeSorted")]
[DependencyProperty<bool>("CanBeSorted", DefaultValue = "true")]
[DependencyProperty<SortDirection>("ColumnSortOption", "OnColumnSortOptionChanged", IsNullable = true)]
public sealed partial class DataGridHeader : UserControl
{
Expand All @@ -33,4 +33,4 @@ public DataGridHeader()
InitializeComponent();
}
}
}
}

0 comments on commit 6924a31

Please sign in to comment.