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);
7161
Items.
SortDescriptions
.Clear();
7219
Items.
SortDescriptions
.Clear();
7224
for (int i = 0; i < Items.
SortDescriptions
.Count; i++)
7226
if (string.Compare(Items.
SortDescriptions
[i].PropertyName, sortPropertyName, StringComparison.Ordinal) == 0 &&
7239
Items.
SortDescriptions
[descriptorIndex] = sortDescription;
7243
Items.
SortDescriptions
.Add(sortDescription);
7259
Items.
SortDescriptions
.Clear();
7353
Items.
SortDescriptions
.RemoveAt(GroupingSortDescriptionIndices[i] - i);
7400
Items.
SortDescriptions
.Insert(insertIndex, sortDescription);
7598
Items.
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)
165
foreach (SortDescription description in this.dataGrid.Items.
SortDescriptions
.Reverse())
169
this.dataGrid.Items.
SortDescriptions
.Remove(description);
177
this.dataGrid.Items.
SortDescriptions
.Add(new SortDescription(e.Column.SortMemberPath, direction));
181
this.dataGrid.Items.
SortDescriptions
.Add(new SortDescription(this.dataGrid.Columns[0].SortMemberPath, ListSortDirection.Ascending));