Vcl.ComCtrls.TCustomListView.SelCount
Delphi
property SelCount: Integer read GetSelCount;
C++
__property int SelCount = {read=GetSelCount, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomListView |
Description
Specifies the number of selected items in the list view.
Read SelCount to determine the number of items that are currently selected. When SelCount is 1, use the Selected property to access the selected item. To locate the selected items when SelCount is greater than one, check the Selected property of the list items, beginning with the item specified by the Selected property.
Note: SelCount can only exceed 1 if the MultiSelect property is true.