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 ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για