FMX.ListBox.TListBoxSelector.SetSelected
Delphi
function SetSelected(const Item: TListBoxItem; const Value: Boolean): Boolean;
C++
bool __fastcall SetSelected(TListBoxItem* const Item, const bool Value);
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | public | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TListBoxSelector |
説明
提供された項目の IsSelected プロパティを設定します。
SetSelected は、次のパラメータを取ります:
Item: アクションが適用される項目。Value: IsSelected として設定される値を示す Boolean。
IsSelected 値が変更されると、True を返します。