Show: Delphi
C++
Display Preferences
Vcl.ComCtrls.TSortType
From XE2 API Documentation
Delphi
type TSortType = (stNone, stData, stText, stBoth)
C++
enum TSortType : unsigned char { stNone, stData, stText, stBoth };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
Description
TSortType indicates the criteria to use when sorting items.
| Value | Meaning |
|---|---|
|
stNone |
No sorting is done. |
|
stData |
Items are sorted based on their Data property. An event handler must be provided to compare Data values. |
|
stText |
Items are sorted based on their Caption property. |
|
stBoth |
Items are sorted based on both the Data and Caption. The Data values are ignored unless an event handler is provided to compare them. |