- itemType
- One of the System.Web.UI.WebControls.ListItemType enumeration values.
- repeatIndex
- An ordinal index that specifies the location of the item in the list control.
null, indicating that style attributes are not set on individual list items in a System.Web.UI.WebControls.CheckBoxList control.
The CheckBoxList.GetItemStyle(ListItemType, int) method is used primarily by control developers in custom controls that derive from the System.Web.UI.WebControls.CheckBoxList class.
The style attribute for the System.Web.UI.WebControls.CheckBoxList control applies to all list items that are contained by the control. Use the System.Web.UI.WebControls.Style property of the System.Web.UI.WebControls.CheckBoxList to examine or set the style attribute for the control and its list items.