FMX.ListBox.TListBoxSelector.SetSelected
Delphi
function SetSelected(const Item: TListBoxItem; const Value: Boolean): Boolean;
C++
bool __fastcall SetSelected(TListBoxItem* const Item, const bool Value);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TListBoxSelector |
Description
Sets the IsSelected property of the provided item.
SetSelected accepts the following parameters:
Item: The item to which the action applies.Value: A Boolean that indicates the value to set as IsSelected.
Returns True if the IsSelected value changes.