RepeatedItemCount Property

RadioButtonList.RepeatedItemCount Property

 

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

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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft