BaseComboBoxColumnSortOrder Property
Gets or sets a value indicating whether the items in the list control are sorted and, if so, in what
order.
Namespace: EWSoftware.ListControls.DataGridViewControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public ListSortOrder SortOrder { get; set; }
Public Property SortOrder As ListSortOrder
Get
Set
public:
property ListSortOrder SortOrder {
ListSortOrder get ();
void set (ListSortOrder value);
}
member SortOrder : ListSortOrder with get, set
Property Value
ListSortOrderIf set to
None (the default), the items in the list control are not sorted. If set to
Ascending or
Descending the list control sorts existing entries and adds new entries to
the appropriate sorted position in the list. You can use this property to automatically sort items in
a list control. As items are added to a sorted list control, the items are moved to the appropriate
location in the sorted list. When you set the property to
None, new items are added to the end
of the existing list. The sort is case-insensitive.
ArgumentException | This is thrown if an attempt is made to set a sort order other
than None when a data source is in use. |