BaseListBoxControl.SortOrder Property

Gets or sets the sort order for the list box control.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v21.2.dll


public SortOrder SortOrder { get; set; }

Property Value

Type Default Description


A SortOrder enumeration member specifying the order in which items in the list box control are sorted.


List box controls enable you to sort their items. Items are sorted in ascending order, if the SortOrder property is set to SortOrder.Ascending. Alternatively, to sort items in descending order, set this property to SortOrder.Descending.

Note: if the list box control is associated with a data source (functions in bound mode), setting the SortOrder property will have no effect.

See Also