FMX.TreeView.TCustomTreeView.ItemByIndex

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function ItemByIndex(const Idx: Integer): TTreeViewItem;

C++

TTreeViewItem* __fastcall ItemByIndex(const int Idx);

プロパティ

種類 可視性 ソース ユニット
function public
FMX.TreeView.pas
FMX.TreeView.hpp
FMX.TreeView TCustomTreeView

説明

ツリー ビュー内にあるインデックスで指定された項目を返します。

Idx パラメータでインデックスを指定してツリー項目を取得する際に、ItemByIndex メソッドを使用します。

ItemByIndex は、トップレベルのツリー項目群に対してのみ動作します。それより下のレベルにある項目を返すには、ItemByGlobalIndex を使用します。

関連項目