ViewEventArgs.EventType Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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