PropertyGridControl.ShowNewItemMenu(String) Method
Invokes the New Item Menu for the collection definition with the specified path.
Namespace: DevExpress.Xpf.PropertyGrid
Assembly: DevExpress.Xpf.PropertyGrid.v24.2.dll
NuGet Package: DevExpress.Wpf.PropertyGrid
Declaration
Parameters
Name | Type | Description |
---|---|---|
propertyPath | String | The collection definition’s path. |
Remarks
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.
Refer to the following help topic for more information: Grid Menus.
See Also