xtd 0.2.0
Loading...
Searching...
No Matches

◆ sorted() [1/2]

virtual bool xtd::forms::combo_box::sorted ( ) const
virtualnoexcept

Gets a value indicating whether the items in the combo_box are sorted alphabetically.

Returns
true if items in the control are sorted; otherwise, false. The default is false.
Remarks
Use the sorted property to automatically sort strings alphabetically in a combo_box. As items are added to a sorted combo_box, the items are moved to the appropriate location in the sorted list. When adding items to a list_box, it is more efficient to sort the items first and then add new items.