IBindingList.IsSorted Propiedad
Definición
Obtiene si están ordenados los elementos de la lista.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
Valor de propiedad
true
si se ha llamado a ApplySort(PropertyDescriptor, ListSortDirection) y no se ha llamado a RemoveSort(); en caso contrario, false
.true
if ApplySort(PropertyDescriptor, ListSortDirection) has been called and RemoveSort() has not been called; otherwise, false
.
Excepciones
SupportsSorting es false
.SupportsSorting is false
.
Comentarios
Esta propiedad se admite si SupportsSorting es true
; en caso contrario, esta propiedad produce una excepción NotSupportedException .This property is supported if SupportsSorting is true
; otherwise, this property throws a NotSupportedException.
Si IsSorted devuelve true
, los elementos se agregan o se quitan en el orden de la ordenación.If IsSorted returns true
, items are added or removed in the order of the sort.