Export (0) Print
Expand All

MenuItemTemplateContainer.ItemIndex Property

Gets the index of the menu item associated with the container.

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

public int ItemIndex { get; }

Property Value

Type: System.Int32
The index of the menu item associated with the container.

Use the ItemIndex property to determine the index of the menu item associated with the container.

NoteNote

This property is used primarily by control developers when extending the Menu class.

.NET Framework

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