Class PropertyGridContextMenu
Provides designer-like context menu support for the PropertyGrid during run-time.
Inheritance
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class PropertyGridContextMenu : ContextMenu
Remarks
This System.Windows.Forms.ContextMenu derived menu has a "Reset" menu item, which automatically provides the property-resetting service with the ContextMenu of a System.Windows.Forms.PropertyGrid during run-time. It also includes a "Description" menu item to let you show / hide the description portion of the property grid. Just as in the VS.NET property grid.
To use this component, just create it passing the PropertyGrid in the constructor. The context menu will then start appearing for that PropertyGrid. There is no design-time support for this component.
Constructors
PropertyGridContextMenu(PropertyGrid)
Creates a new instance of the PropertyGridContextMenu.
Declaration
public PropertyGridContextMenu(PropertyGrid propertyGrid)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PropertyGrid | propertyGrid | The System.Windows.Forms.PropertyGrid to which this will be made a context menu. |
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnPopup(EventArgs)
Declaration
protected override void OnPopup(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |