CheckBoxList.RepeatedItemCount Property

Definition

Gets the number of list items in the CheckBoxList control.

C#
protected virtual int RepeatedItemCount { get; }

Property Value

The number of items in the CheckBoxList.

Remarks

The RepeatedItemCount property is used primarily by control developers in custom controls that derive from the CheckBoxList class.

If there are no items set in the CheckBoxList, the RepeatedItemCount is zero. If there are items set in the CheckBoxList, the RepeatedItemCount is the same as the Count property on the Items collection.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also