Base:
property
SortDescriptions
System.Windows.Data.CollectionView.SortDescriptions
17 references to SortDescriptions
PresentationFramework (13)
src\Framework\System\Windows\Controls\DataGrid.cs (11)
96((INotifyCollectionChanged)Items.SortDescriptions).CollectionChanged += new NotifyCollectionChangedEventHandler(OnItemsSortDescriptionsChanged); 7161Items.SortDescriptions.Clear(); 7219Items.SortDescriptions.Clear(); 7224for (int i = 0; i < Items.SortDescriptions.Count; i++) 7226if (string.Compare(Items.SortDescriptions[i].PropertyName, sortPropertyName, StringComparison.Ordinal) == 0 && 7239Items.SortDescriptions[descriptorIndex] = sortDescription; 7243Items.SortDescriptions.Add(sortDescription); 7259Items.SortDescriptions.Clear(); 7353Items.SortDescriptions.RemoveAt(GroupingSortDescriptionIndices[i] - i); 7400Items.SortDescriptions.Insert(insertIndex, sortDescription); 7598Items.SortDescriptions.Clear();
src\Framework\System\Windows\Controls\ItemCollection.cs (2)
458/// Re-create the view, using any <seealso cref="SortDescriptions"/> and/or <seealso cref="Filter"/>. 630/// to <seealso cref="SortDescriptions"/>.
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (4)
165foreach (SortDescription description in this.dataGrid.Items.SortDescriptions.Reverse()) 169this.dataGrid.Items.SortDescriptions.Remove(description); 177this.dataGrid.Items.SortDescriptions.Add(new SortDescription(e.Column.SortMemberPath, direction)); 181this.dataGrid.Items.SortDescriptions.Add(new SortDescription(this.dataGrid.Columns[0].SortMemberPath, ListSortDirection.Ascending));