Menu.FindMergePosition Method (Int32)

 

Returns the position at which a menu item should be inserted into the menu.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected int FindMergePosition(
	int mergeOrder
)

Parameters

mergeOrder
Type: System.Int32

The merge order position for the menu item to be merged.

Return Value

Type: System.Int32

The position at which a menu item should be inserted into the menu.

The merge order of a menu item specifies the relative position that this menu item will assume if the menu structure that the MenuItem is contained in is merged with another.

.NET Framework
Available since 1.1
Return to top
Show: