Export (0) Print
Expand All

RadioButtonList.System.Web.UI.WebControls.IRepeatInfoUser.GetItemStyle Method

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

For a description of this member, see IRepeatInfoUser.GetItemStyle.

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

Style IRepeatInfoUser.GetItemStyle (
	ListItemType itemType,
	int repeatIndex
Not applicable.



One of the ListItemType enumeration values.


An ordinal index that specifies the location of the item in the list.

Return Value

A Style that represents the style of the specified item type at the specified index in the list control.

Typically, you should use the RadioButtonList.GetItemStyle method to retrieve the style of an item in a RadioButtonList control.

The RadioButtonList.System.Web.UI.WebControls.IRepeatInfoUser.GetItemStyle method is an explicit interface member implementation. It can be used only when the RadioButtonList instance is cast to an IRepeatInfoUser interface.

Notes to Implementers: To define a custom implementation for retrieving the style of an item in a RadioButtonList control, override the RadioButtonList.GetItemStyle method. The explicit interface implementation calls the RadioButtonList.GetItemStyle method to retrieve the style of an item.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

© 2014 Microsoft