Bewerken

Delen via


DataList.IRepeatInfoUser.GetItemStyle(ListItemType, Int32) Method

Definition

For a description of this member, see GetItemStyle(ListItemType, Int32).

 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);
abstract member System.Web.UI.WebControls.IRepeatInfoUser.GetItemStyle : System.Web.UI.WebControls.ListItemType * int -> System.Web.UI.WebControls.Style
override this.System.Web.UI.WebControls.IRepeatInfoUser.GetItemStyle : System.Web.UI.WebControls.ListItemType * int -> System.Web.UI.WebControls.Style
Function GetItemStyle (itemType As ListItemType, repeatIndex As Integer) As Style Implements IRepeatInfoUser.GetItemStyle

Parameters

itemType
ListItemType

One of the ListItemType enumeration values.

repeatIndex
Int32

The index of the item in the list control.

Returns

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

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the DataList instance is cast to an IRepeatInfoUser interface.

Applies to