This example uses the DockLayoutManager.ShowingMenu event to customize a LayoutPanel's context menu. The menu uses customization actions to customize bars. This example creates two actions:
-
BarButtonItem object — a menu action.
-
InsertBarItemLinkAction object — an action that inserts a bar item link into the menu (in the example, it inserts a separator).
- Window1.xaml (VB: Window1.xaml)
- Window1.xaml.cs (VB: Window1.xaml)
(you will be redirected to DevExpress.com to submit your response)
