SortMemberPath Property

DataGridColumn.SortMemberPath Property


Gets or sets a property name, or a period-delimited hierarchy of property names, that indicates the member to sort by.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public string SortMemberPath { get; set; }

Property Value

Type: System.String

The path of the data-item member to sort by. The registered default is an empty string (""). For information about what can influence the value, see DependencyProperty.

.NET Framework
Available since 4.0
Available since 2.0
Return to top
© 2015 Microsoft