Vcl.ComCtrls.TComboBoxExStrings.SortType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SortType: TListItemsSortType read GetSortType write SetSortType;

C++

__property Vcl::Listactns::TListItemsSortType SortType = {read=GetSortType, write=SetSortType, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TComboBoxExStrings

Description

Determines whether and how the items in the list are automatically sorted.

Use the SortType property to specify the order of items in the list, setting it as stNone, stData, stText, or stBoth. If SortType is not stNone, the list of items is automatically sorted. Once a list view is sorted, the original order is lost. That is, setting the SortType back to stNone will not restore the original order of items.

See Also