System.Drawing.Design.PropertyValueUIItemInvokeHandler Delegate

Represents the method that will handle the PropertyValueUIItem.InvokeHandler event of a System.Drawing.Design.PropertyValueUIItem.


public delegate void PropertyValueUIItemInvokeHandler (System.ComponentModel.ITypeDescriptorContext context, System.ComponentModel.PropertyDescriptor descriptor, PropertyValueUIItem invokedItem)


Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.


Double-clicking an icon in the Properties window will raise the PropertyValueUIItem.InvokeHandler event of the System.Drawing.Design.PropertyValueUIItem that the icon is associated with. The PropertyValueUIItem.InvokeHandler event typically launches a user interface (UI) to edit the property's value. Add a System.Drawing.Design.PropertyValueUIItemInvokeHandler to the PropertyValueUIItem.InvokeHandler property of a System.Drawing.Design.PropertyValueUIItem to assign an event handler to perform the appropriate behavior when the icon displayed next to the property name is double-clicked.

When you create a System.Drawing.Design.PropertyValueUIItemInvokeHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see Events and Delegates.


Namespace: System.Drawing.Design
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,