API:FMX.ListBox.TCustomListBox.Sort
Delphi
procedure Sort(Compare: TFmxObjectSortCompare); override;
C++
virtual void __fastcall Sort(Fmx::Types::_di_TFmxObjectSortCompare Compare);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TCustomListBox |
Description
Sorts components of the layout based on the comparison function Compare.
FMX.ListBox.TCustomListBox.Sort inherits from FMX.Layouts.TCustomScrollBox.Sort. All content below this line refers to FMX.Layouts.TCustomScrollBox.Sort.
Sorts components of the layout based on the comparison function Compare.
TFmxObjectSortCompare is declared as:
TFmxObjectSortCompare = function(item1, item2: TFmxObject): Integer;