CheckBoxList.RepeatedItemCount Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the number of list items in the CheckBoxList control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected virtual int RepeatedItemCount { get; }

Property Value

Type: System.Int32

The number of items in the CheckBoxList.

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.

.NET Framework
Available since 2.0
Return to top
Show: