DockLayoutManager.ShowItemSelectorMenu(UIElement, BaseLayoutItem[]) Method
Displays a panel selector menu, used to activate an auto-hidden panel or a child panel within a TabbedGroup or a DocumentPanel within a DocumentGroup.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v24.2.dll
NuGet Package: DevExpress.Wpf.Docking
#Declaration
public void ShowItemSelectorMenu(
UIElement source,
BaseLayoutItem[] items
)
#Parameters
Name | Type | Description |
---|---|---|
source | UIElement | A visual element for which the menu is invoked. |
items | Base |
An array of Base |
#Remarks
The panel selector menu allows an auto-hidden panel or a child panel within a TabbedGroup or a DocumentPanel within a DocumentGroup to be activated. Clicking a corresponding menu item activates the corresponding panel:
The panel selector menu is automatically displayed when right-clicking on:
- an empty area of an auto-hide container
- an empty area of the tab header region within a TabbedGroup
- an empty area of the tab header region within a DocumentGroup
The ShowItemSelectorMenu method can be used to manually invoke the selector menu. The method’s items parameter specifies the layout items (panels) to be shown in the menu.
To customize the selector menu, use the DockLayoutManager.ItemSelectorMenuCustomizations property.