DesignerRegionMouseEventArgs::Region Property
.NET Framework (current version)
Gets the designer region that was clicked, if any.
Assembly: System.Design (in System.Design.dll)
Property Value
Type: System.Web.UI.Design::DesignerRegion^The DesignerRegion that the click event applies to, or null if no region was clicked.
The Region property represents the control designer region that was clicked, if any.
The Region property is initialized by the DesignerRegionMouseEventArgs constructor.
The following code example shows how to use the DesignerRegionMouseEventArgs to identify the region that was clicked and to change view accordingly. This example is part of a larger example provided for the EditableDesignerRegion class.
.NET Framework
Available since 2.0
Available since 2.0
Show: