ColumnHeader arrows not reflected when sorting a DataGrid in XAML
问题 I have a DataGrid with some sorting defined in XAML like so: <CollectionViewSource x:Key="DefaultSort" Source="{Binding SearchResults}"> <CollectionViewSource.SortDescriptions> <scm:SortDescription PropertyName="ExternalOrgNo" Direction="Ascending"/> <scm:SortDescription PropertyName="ExternalBranchNumber" Direction="Ascending"/> </CollectionViewSource.SortDescriptions> </CollectionViewSource> The sorting is properly applied to the DataGrid but there is no indication of the sorting on the