FMX.TreeView.TCustomTreeView.ItemByIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ItemByIndex(const Idx: Integer): TTreeViewItem;

C++

TTreeViewItem* __fastcall ItemByIndex(const int Idx);

Properties

Type Visibility Source Unit Parent
function public
FMX.TreeView.pas
FMX.TreeView.hpp
FMX.TreeView TCustomTreeView

Description

Returns the item specified through its index in the tree view.

Use the ItemByIndex method whenever you need to obtain the tree item whose index is specified through the Idx parameter.

ItemByIndex only works on top-level tree items. Use ItemByGlobalIndex to return an item in lower tree levels.

See Also