System.Windows.Forms.MenuItem.Index Property

Gets or sets a value indicating the position of the menu item in its parent menu.

Syntax

[System.ComponentModel.Browsable(false)]
public int Index { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property provides the indexed position of a menu item in the menu item collection of its parent menu. You can use this property to reposition a menu item to a different location within its menu. You can also use this property when creating a System.Windows.Forms.MenuItem to specify its position in a menu structure at the time of creation.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0