IRepeatInfoUser.GetItemStyle(ListItemType, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the style of the specified item type at the specified index in the list control.
public:
System::Web::UI::WebControls::Style ^ GetItemStyle(System::Web::UI::WebControls::ListItemType itemType, int repeatIndex);
public System.Web.UI.WebControls.Style GetItemStyle (System.Web.UI.WebControls.ListItemType itemType, int repeatIndex);
abstract member GetItemStyle : System.Web.UI.WebControls.ListItemType * int -> System.Web.UI.WebControls.Style
Public Function GetItemStyle (itemType As ListItemType, repeatIndex As Integer) As Style
Parameters
- itemType
- ListItemType
One of the ListItemType enumeration values.
- repeatIndex
- Int32
An ordinal index that specifies the location 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.
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.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應