- e
- A System.Web.UI.Design.DesignerRegionMouseEventArgs object that specifies the location and, possibly, the control designer region that the user clicked.
The IControlDesignerView.ViewEvent event is raised by the design host for certain actions on a control in the design surface. For example, an event is raised for the following conditions:
The user clicks the control.
The control designer paints on the design surface.
The user enters or exits template editing mode for the control.
The System.Web.UI.Design.ControlDesigner class supplies a default delegate to handle the IControlDesignerView.ViewEvent event. Classes deriving from System.Web.UI.Design.ControlDesigner override the ControlDesigner.OnClick(DesignerRegionMouseEventArgs) method to process events that are raised when the user clicks a control.
The ControlDesigner.OnClick(DesignerRegionMouseEventArgs) method allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
The default implementation of the ControlDesigner.OnClick(DesignerRegionMouseEventArgs) method returns without performing any processing.