System.Design 2.0.0.0 System.EventArgs

The event is raised by the designer host for certain actions on a control on the design surface. The is handled by a delegate method, which takes a object as a parameter.

The class supplies a default delegate to handle the . Custom control designers override the , , and methods to process those events for the control on the design surface.

The designer host initializes a object for the type of action on the design surface, and then passes the object to the delegate. The property represents the control designer region that the event applies to. The property of the object indicates which type of action:

A event.

A event.

A event.

The property supplies the event arguments that are specific to the type of action.

For example, the designer host initializes objects as follows:

A object when you click a region.

A object when a control is drawn on the design surface.

A object when the template editing mode changes for the control on the design surface.

For more information about events and delegates, see Events and Delegates.

Provides data for the event.

- Constructor
  2.0.0.0

  The constructor is used by the designer host to initialize a object for the event. The designer host passes the initialized object to the delegate.

  Typically, is set for events, and null (Nothing in Visual Basic) for and events.

  Initializes a new instance of the class for the type of view event on the design surface.

  The type of action that raised the event; used to initialize the .
  The designer region that the action applies to; used to initialize the .
  The event arguments associated with ; used to initialize the .
- Property
  2.0.0.0
  System.EventArgs To be added.

  The property supplies the event arguments that are specific to the type of action that is specified in the property.

  For example, when you click a region, the designer host initializes the as a event, and then initializes the property as a object.

  Similarly, the designer host initializes the property with a object for a event, or a object for a event.

  The property is initialized by the constructor.

  Gets the event arguments that are associated with the action that raised the event.

- Property
  2.0.0.0
  System.Web.UI.Design.ViewEvent To be added.

  The property of the object indicates which type of action raised the event:

  A event.

  A event.

  A event.

  The property supplies the event arguments that are specific to the type of action.

  The property is initialized by the constructor.

  Gets the type of action that raised the event.

- Property
  2.0.0.0
  System.Web.UI.Design.DesignerRegion To be added.

  The property represents the control designer region that the event applies to. Typically, the property is set for events, and null (Nothing in Visual Basic) for and events.

  The property is initialized by the constructor.

  Gets the designer region that the event applies to.