FMX.ListBox.TListBoxItem.SetIsSelectedInternal
Delphi
procedure SetIsSelectedInternal(const Value: Boolean; const UserChange: Boolean);
C++
void __fastcall SetIsSelectedInternal(const bool Value, const bool UserChange);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TListBoxItem |
Description
Processes the selection of an item.
Sets the value of the IsSelected property, triggers the selection animation and calls the ItemStateChanged method of the listbox selection controller.
The UserChange
specifies whether the selection is initiated by an user action (as opposed to by a code call).