IBindingList.IsSorted Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets whether the items in the list are sorted.
public:
property bool IsSorted { bool get(); };
public bool IsSorted { get; }
member this.IsSorted : bool
Public ReadOnly Property IsSorted As Boolean
Property Value
true
if ApplySort(PropertyDescriptor, ListSortDirection) has been called and RemoveSort() has not been called; otherwise, false
.
Exceptions
SupportsSorting is false
.
Remarks
This property is supported if SupportsSorting is true
; otherwise, this property throws a NotSupportedException.
If IsSorted returns true
, items are added or removed in the order of the sort.
Applies to
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.