IBindingList.IsSorted Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient si les éléments de la liste sont triés.
public:
property bool IsSorted { bool get(); };
public bool IsSorted { get; }
member this.IsSorted : bool
Public ReadOnly Property IsSorted As Boolean
Valeur de propriété
true si ApplySort(PropertyDescriptor, ListSortDirection) elle a été appelée et RemoveSort() n’a pas été appelée ; sinon, false.
Exceptions
SupportsSorting a la valeur false.
Remarques
Cette propriété est prise en charge si SupportsSorting elle est true; sinon, cette propriété lève un NotSupportedException.
Si IsSorted cette propriété est retournée true, les éléments sont ajoutés ou supprimés dans l’ordre du tri.