Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxListBox.SelCount Property

Gets the number of selected items when multiple selection is allowed.

#Declaration

Delphi
property SelCount: Integer read;

#Property Value

Type
Integer

#Remarks

When the MultiSelect property is set to True, end-users can select multiple items within the list box. In this case, you can use the SelCount property to determine the number of currently selected items. When multiple selection is prohibited, this property always returns -1.

Note

You can determine whether a specific item is selected using the Selected property.

See Also