Export (0) Print
Expand All

DataListItem::IDataItemContainer::DisplayIndex Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

For a description of this member, see IDataItemContainer::DisplayIndex.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

private:
virtual property int DisplayIndex {
	int get () sealed = IDataItemContainer::DisplayIndex::get;
}

Property Value

Type: System::Int32
An integer representing the position of the data item as displayed in a control.

Implements

IDataItemContainer::DisplayIndex

Typically, 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft