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
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru