Bewerken

Share via


IBindingList.SortProperty Property

Definition

Gets the PropertyDescriptor that is being used for sorting.

public:
 property System::ComponentModel::PropertyDescriptor ^ SortProperty { System::ComponentModel::PropertyDescriptor ^ get(); };
public System.ComponentModel.PropertyDescriptor SortProperty { get; }
public System.ComponentModel.PropertyDescriptor? SortProperty { get; }
member this.SortProperty : System.ComponentModel.PropertyDescriptor
Public ReadOnly Property SortProperty As PropertyDescriptor

Property Value

The PropertyDescriptor that is being used for sorting.

Exceptions

Remarks

This property is supported if SupportsSorting is true; otherwise, this property throws a NotSupportedException.

Applies to