ViewEventArgs.Region 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 designer region that the event applies to.

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

public DesignerRegion Region { get; }

Property Value

Type: System.Web.UI.Design.DesignerRegion

The DesignerRegion that the action applies to.

The Region property represents the control designer region that the event applies to. Typically, the Region property is set for Click events, and null (Nothing in Visual Basic) for Paint and TemplateModeChanged events.

The Region property is initialized by the ViewEventArgs constructor.

.NET Framework
Available since 2.0
Return to top
Show: