FMX.TreeView.TOnCompareTreeViewItemEvent
Delphi
TOnCompareTreeViewItemEvent = function(Item1, Item2: TTreeViewItem): Integer of object;
C++
typedef int __fastcall (__closure *TOnCompareTreeViewItemEvent)(TTreeViewItem* Item1, TTreeViewItem* Item2);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | FMX.TreeView.pas FMX.TreeView.hpp |
FMX.TreeView | FMX.TreeView |
Description
TOnCompareTreeViewItemEvent is an event type used by the OnCompare event handler of any TCustomTreeView or descendant component.
If Sorted is set to True, then an OnCompare event is fired each time two items in the tree view are compared against each other by the internal sorting routine.