CheckBoxList.RepeatedItemCount Property

Definition

Gets the number of list items in the CheckBoxList control.

protected:
 virtual property int RepeatedItemCount { int get(); };
protected virtual int RepeatedItemCount { get; }
member this.RepeatedItemCount : int
Protected Overridable ReadOnly Property RepeatedItemCount As Integer

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

See also