Upravit

Sdílet prostřednictvím


BindingSource.SortProperty Property

Definition

Gets the PropertyDescriptor that is being used for sorting the list.

public:
 virtual property System::ComponentModel::PropertyDescriptor ^ SortProperty { System::ComponentModel::PropertyDescriptor ^ get(); };
[System.ComponentModel.Browsable(false)]
public virtual System.ComponentModel.PropertyDescriptor SortProperty { get; }
[System.ComponentModel.Browsable(false)]
public virtual System.ComponentModel.PropertyDescriptor? SortProperty { get; }
[<System.ComponentModel.Browsable(false)>]
member this.SortProperty : System.ComponentModel.PropertyDescriptor
Public Overridable ReadOnly Property SortProperty As PropertyDescriptor

Property Value

If the list is an IBindingList, the PropertyDescriptor that is being used for sorting; otherwise, null.

Implements

Attributes

Remarks

If the list is not an IBindingList, SortProperty always returns null.

Applies to