Name
ListItemType
Synopsis
This enumeration specifies the type of item for a row in a DataList
, DataGrid
, or Repeater
control. It is not used for
other list controls that derive from ListControl
.
Item types include headers and footers, separators, and the controls used to move
from one data page to the next
(Pager
). If an item is
currently in edit mode, the value EditItem
is returned; if the item is selected, SelectedItem
is used. AlternatingItem
indicates a
alternating item, which will be an even-numbered item (counting is zero-based).
Public Enum ListItemType Header = 0 Footer = 1 Item = 2 AlternatingItem = 3 SelectedItem = 4 EditItem = 5 Separator = 6 Pager = 7 End Enum
Hierarchy
System.Object→System.ValueType→ System.Enum(System.IComparable
, System.IFormattable
, System.IConvertible)→ ListItemType
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.