SortDescription.PropertyName Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the property name being used as the sorting criteria.
Assembly: System.Windows (in System.Windows.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | IsSealed is true. |
A SortDescription is automatically sealed when you add it to a SortDescriptionCollection. You cannot change the Direction and PropertyName values of a sealed SortDescription instance.
Show: