ViewEventArgs.EventType Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the type of action that raised the event.

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

public ViewEvent EventType { get; }

Property Value

Type: System.Web.UI.Design.ViewEvent

A ViewEvent that specifies the type of action that raised the event.

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

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

The EventType property is initialized by the ViewEventArgs constructor.

.NET Framework
Available since 2.0
Return to top
Show: