DesignerActionUIStateChangeEventHandler Delegate
Assembly: System.Design (in system.design.dll)
'Declaration Public Delegate Sub DesignerActionUIStateChangeEventHandler ( _ sender As Object, _ e As DesignerActionUIStateChangeEventArgs _ ) 'Usage Dim instance As New DesignerActionUIStateChangeEventHandler(AddressOf HandlerMethod)
/** @delegate */ public delegate void DesignerActionUIStateChangeEventHandler ( Object sender, DesignerActionUIStateChangeEventArgs e )
Not applicable.
Parameters
- sender
The Object that raised the event.
- e
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:
-
The DesignerActionUIStateChangeEventArgs class, derived from System.EventArgs, which holds the event data.
-
The DesignerActionUIStateChangeEventHandler delegate, which points to a method that provides the response to the event.
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.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.