ViewEventArgs.Region Property


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