FMX.TreeView.TCustomTreeView.ItemByText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ItemByText(const AText: string): TTreeViewItem;

C++

TTreeViewItem* __fastcall ItemByText(const System::UnicodeString AText);

Properties

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

Description

Returns the item corresponding to the given text from the tree view.

Use the ItemByText method whenever you need to obtain the tree item specified through its text. The item's text is given through the AText parameter. ItemByText returns the first matching result.

ItemByText is the slowest method of finding items.

See Also