Skip to content

Commit 6924a31

Browse files
authored
Code Quality: Fixed an issue where DataGridHeader is disabled by default (#16105)
1 parent c75d3d7 commit 6924a31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace Files.App.UserControls
99
{
1010
[DependencyProperty<string>("Header")]
11-
[DependencyProperty<bool>("CanBeSorted")]
11+
[DependencyProperty<bool>("CanBeSorted", DefaultValue = "true")]
1212
[DependencyProperty<SortDirection>("ColumnSortOption", "OnColumnSortOptionChanged", IsNullable = true)]
1313
public sealed partial class DataGridHeader : UserControl
1414
{
@@ -33,4 +33,4 @@ public DataGridHeader()
3333
InitializeComponent();
3434
}
3535
}
36-
}
36+
}

0 commit comments

Comments
 (0)