A newer version of this page is available. Switch to the current version.

DockLayoutManager.CloseMenu() Method

Closes the active context menu.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v19.1.dll

Declaration

public void CloseMenu()
Public Sub CloseMenu

Remarks

There exist two types of context menus:

  • A context menu invoked on right-clicking a panel's caption:

    ContextMenu

  • A selector menu - the menu used to invoke a child panel within a container:

    ItemSelectorMenu

To customize these menus, use the DockLayoutManager.ContextMenuCustomizations and DockLayoutManager.ItemSelectorMenuCustomizations properties. See these links to learn more.

See Also