Skip to main content
A newer version of this page is available. .

CommandPopupMenu<T>.MoveSubMenuItem(T, Int32) Method

Moves a submenu item to a specified position.

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.Utils.v19.2.dll

Declaration

public void MoveSubMenuItem(
    T id,
    int to
)

Parameters

Name Type Description
id T

An object serving as a menu identifier.

to Int32

An integer that is the position of a menu item within the menu object.

Remarks

Changes the order of menu items so that the specified menu item is placed to the specified position. The position is a zero-based index. Only CommandPopupMenu<T> items are affected.

See Also