通过


BindingList<T>.SupportsSortingCore 属性

定义

获取一个值,该值指示列表是否支持排序。

protected:
 virtual property bool SupportsSortingCore { bool get(); };
protected virtual bool SupportsSortingCore { get; }
member this.SupportsSortingCore : bool
Protected Overridable ReadOnly Property SupportsSortingCore As Boolean

属性值

true 如果列表支持排序,则为否则,为 false. 默认值为 false

注解

SupportsSortingCore 属性指示是否 BindingList<T> 支持使用 ApplySortCore 该方法进行排序。

BindingList<T> 类不提供排序的基本实现,因此 SupportsSortingCore 默认情况下始终返回 false 。 有关实现排序的详细信息,请参阅该方法 ApplySortCore

适用于