Vcl.ComCtrls.TCustomTreeView.Selections
Delphi
property Selections[Index: Integer]: TTreeNode read GetSelection;
C++
__property TTreeNode* Selections[int Index] = {read=GetSelection};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTreeView |
説明
選択したノードを返します。
Selections プロパティは,選択したノードのいずれか 1 つを返します。Index の最大値は,SelectionCount -1 です。複数のノードが選択された場合,Selections[0] がメイン選択ノードになります。MultiSelectStyle に msShiftSelect が指定されている場合は,このノードから拡張選択を実行します。