PropertyGridControl.HideMenu() Method
Closes the opened property grid menu.
Namespace: DevExpress.Xpf.PropertyGrid
Assembly: DevExpress.Xpf.PropertyGrid.v24.2.dll
NuGet Package: DevExpress.Wpf.PropertyGrid
Declaration
Remarks
Property Menu
The Property Menu allows users to invoke property-specific commands. This menu can be customized. For example, you can remove existing menu items and add new items.
The PropertyGridControl invokes the Property Menu in the following cases:
- A user clicks the property’s Menu Button.
- A user right-clicks the property (the PropertyGridControl.ShowMenu property should be set to
OnRightClick
orAlways
). - You call the ShowPropertyMenu(String) method.
New Item Menu
The collection‘s New Item Menu allows users to add items to the collection. The New Item Initializer specifies item types displayed in this menu.
The PropertyGridControl invokes the New Item Menu in the following cases:
- A user clicks the collection’s Add Item button.
- You call the ShowNewItemMenu(String) method.
See Also