Vcl.ComCtrls.TListItem.Selected
Delphi
property Selected: Boolean index 3 read GetState write SetState;
C++
__property bool Selected = {read=GetState, write=SetState, index=3, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TListItem |
Description
Indicates whether the list item is selected.
Use Selected to select or unselect the list item. If the MultiSelect property of the list view is false, setting Selected to true sets the Selected property of all other list items in the list view to false. The appearance of a selected item depends on whether it has focus and whether the system colors are used for selection.