System.Design 2.0.0.0 System.Object

A object is provided to the designer component by the design host, for example vsprvslong, when raising an event caused by certain user actions on the design-time view of a control. The event is handled by a delegate method, which takes a object as a parameter. The property of the class is a object. The delegate method compares the property to the static fields to determine which type of action raised the event. For example, an event is raised under the following circumstances:

You click a region on the design surface.

The designer draws a control on the design surface.

You enter or exit template editing mode for a control.

The class supplies a default delegate to handle the event. 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 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.

Represents the kind of event that has occurred on a view of a control at design time. This class cannot be inherited.

- Field
  2.0.0.0
  System.Web.UI.Design.ViewEvent

  A delegate method compares the property to the static fields to determine which type of action raised the event. A object is equal to to indicate that you clicked a region on the design surface.

  The class supplies a default delegate. If the event type is , the delegate calls the method. Classes deriving from the class override the method to handle click events on a region at design time. The event arguments indicate which designer region was clicked, if any.

  Indicates that a view event was raised for a click on a designer region.

- Field
  2.0.0.0
  System.Web.UI.Design.ViewEvent

  A delegate method compares the property to the static fields to determine which type of action raised the event. A object is equal to to indicate a paint event on the control on the design surface.

  The class supplies a default delegate. If the event type is , the delegate calls the method. Classes deriving from the class override the method to handle click events on a region at design time.

  Indicates that a view event was raised for drawing a control on the design surface.

- Field
  2.0.0.0
  System.Web.UI.Design.ViewEvent

  A delegate method compares the property to the static fields to determine which type of action raised the event. A object is equal to to indicate that the template editing mode changed for a control on the design surface.

  The class supplies a default delegate. If the event type is , the delegate sets the value for the property.

  Custom designers that are derived from the class can override the method to perform additional processing when the template editing mode changes for a control on the design surface.

  Indicates that a view event was raised for changing the template mode of a control designer.