MenuItemTemplateContainer.ItemIndex Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

System_CAPS_noteNote

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

.NET Framework
Available since 2.0
Return to top
Show: