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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για