DataGridItem.IDataItemContainer.DisplayIndex Property


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

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

int IDataItemContainer.DisplayIndex { get; }

Property Value

Type: System.Int32

The index of the DataGridItem from the Items collection of the DataGrid control.

This member is an explicit interface member implementation. It can be used only when the DataGridItem instance is cast to an IDataItemContainer interface.

.NET Framework
Available since 2.0
Return to top