Back to Devexpress

DockLayoutManager.CloseMenu() Method

wpf-devexpress-dot-xpf-dot-docking-dot-docklayoutmanager-ab76357b.md

latest1.9 KB
Original Source

DockLayoutManager.CloseMenu() Method

Closes the active context menu.

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public void CloseMenu()
vb
Public Sub CloseMenu

Remarks

There exist two types of context menus:

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

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

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

See Also

ShowContextMenu(BaseLayoutItem)

ShowItemSelectorMenu(UIElement, BaseLayoutItem[])

ShowingMenu

ContextMenuCustomizations

ItemSelectorMenuCustomizations

DockLayoutManager Class

DockLayoutManager Members

DevExpress.Xpf.Docking Namespace