System.Web.UI.Design.ViewEventArgs.EventArgs Property

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

Syntax

public EventArgs EventArgs { get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

For example, when you click a region, the designer host initializes the ViewEventArgs.EventType as a ViewEvent.Click event, and then initializes the ViewEventArgs.EventArgs property as a System.Web.UI.Design.DesignerRegionMouseEventArgs object.

Similarly, the designer host initializes the ViewEventArgs.EventArgs property with a System.Windows.Forms.PaintEventArgs object for a ViewEvent.Paint event, or a System.Web.UI.Design.TemplateModeChangedEventArgs object for a ViewEvent.TemplateModeChanged event.

The ViewEventArgs.EventArgs property is initialized by the ViewEventArgs.#ctor(ViewEvent, DesignerRegion, EventArgs) constructor.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0