Vcl.Controls.TCustomMultiSelectListControl.SelCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SelCount: Integer read GetSelCount;

C++

__property int SelCount = {read=GetSelCount, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TCustomMultiSelectListControl

Description

Indicates the number of selected items.

Read SelCount to determine the number of items that are currently selected. If the value of the MultiSelect property is false, SelCount is always -1. If MultiSelect is true, the value of SelCount can be greater than 1 as well.

Note: To implement the SelCount property in a TCustomMultiSelectListControl descendant, override the protected GetSelCount method.

See Also