Expand Minimize

DesignerActionUIStateChangeEventHandler Delegate

Represents the method that will handle the DesignerActionUIStateChange event of a DesignerActionUIService.

Namespace:  System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

type DesignerActionUIStateChangeEventHandler = 
    delegate of  
        sender:Object * 
        e:DesignerActionUIStateChangeEventArgs -> unit

Parameters

sender
Type: System.Object

The Object that raised the event.

e
Type: System.ComponentModel.Design.DesignerActionUIStateChangeEventArgs

The event-specific information.

The event model in the .NET Framework is based on having an event delegate that connects an event with its handler. To raise a DesignerActionUIStateChange event, two elements are needed:

When you create a DesignerActionUIStateChangeEventHandler 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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft