Export (0) Print
Expand All

IRepeatInfoUser.GetItemStyle Method

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

[Visual Basic]
Function GetItemStyle( _
   ByVal itemType As ListItemType, _
   ByVal repeatIndex As Integer _
) As Style
[C#]
Style GetItemStyle(
   ListItemType itemType,
 int repeatIndex
);
[C++]
Style* GetItemStyle(
   ListItemType itemType,
 int repeatIndex
);
[JScript]
function GetItemStyle(
   itemType : ListItemType,
 repeatIndex : int
) : Style;

Parameters

itemType
One of the ListItemType enumeration values.
repeatIndex
An ordinal index that specifies the location of the item in the list control.

Return Value

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

Remarks

A list control that inherits from the IRepeatInfoUser interface must implement the GetItemStyle method to retrieve the style of the specified item type at the specified index in the list control.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

IRepeatInfoUser Interface | IRepeatInfoUser Members | System.Web.UI.WebControls Namespace | ListItemType | Style

Show:
© 2015 Microsoft