Class PropertyGridContextMenu
Provides designer-like context menu support for the PropertyGrid during run-time.
Inheritance
System.Object
PropertyGridContextMenu
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class PropertyGridContextMenu : ContextMenuStrip
Remarks
This
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 |
OnOpening(CancelEventArgs)
Declaration
protected override void OnOpening(CancelEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.ComponentModel.CancelEventArgs | e |