Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DockLayoutManager.CloseMenu() Method

In This Article

Closes the active context menu.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.2.dll

NuGet Package: DevExpress.Wpf.Docking

#Declaration

public void 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