RadioButtonList.IRepeatInfoUser.GetItemStyle(ListItemType, Int32) RadioButtonList.IRepeatInfoUser.GetItemStyle(ListItemType, Int32) RadioButtonList.IRepeatInfoUser.GetItemStyle(ListItemType, Int32) Method

Definition

Retrieves the style of the specified item type at the specified index in the list control.

 virtual System::Web::UI::WebControls::Style ^ System.Web.UI.WebControls.IRepeatInfoUser.GetItemStyle(System::Web::UI::WebControls::ListItemType itemType, int repeatIndex) = System::Web::UI::WebControls::IRepeatInfoUser::GetItemStyle;
System.Web.UI.WebControls.Style IRepeatInfoUser.GetItemStyle (System.Web.UI.WebControls.ListItemType itemType, int repeatIndex);
Function GetItemStyle (itemType As ListItemType, repeatIndex As Integer) As Style Implements IRepeatInfoUser.GetItemStyle

Parameters

itemType
ListItemType ListItemType ListItemType

One of the ListItemType enumeration values.

repeatIndex
Int32 Int32 Int32

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

Returns

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

Implements

Remarks

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

The 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 Inheritors

To define a custom implementation for retrieving the style of an item in a RadioButtonList control, override the GetItemStyle(ListItemType, Int32) method. The explicit interface implementation calls the GetItemStyle(ListItemType, Int32) method to retrieve the style of an item.

Applies to

See also