DataListItem::IDataItemContainer::DisplayIndex Property
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
For a description of this member, see IDataItemContainer::DisplayIndex.
Assembly: System.Web (in System.Web.dll)
private: property int DisplayIndex { virtual int get() sealed = IDataItemContainer::DisplayIndex::get; }
Property Value
Type: System::Int32An integer representing the position of the data item as displayed in a control.
Implements
IDataItemContainer::DisplayIndexTypically, you should use the DataListItem::ItemIndex property to retrieve the data-item index for a DataListItem object.
The IDataItemContainer::DisplayIndex member is an explicit interface member implementation. It can be used only when the DataListItem instance is cast to an IDataItemContainer interface.
.NET Framework
Available since 2.0
Available since 2.0
Show: