RadioButtonList.RepeatedItemCount Property

Definition

Gets the number of list items in the RadioButtonList 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 list control.

Remarks

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

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

Applies to

See also