Skip to main content

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

Moves a menu item with a check mark to a specified position.

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public void MoveMenuCheckItem(
    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 into the specified position. The position is a zero-based index. Only command menu items with check marks (DevExpress.Utils.Menu.CommandMenuCheckItem<T> objects) are affected.

See Also