DesignerRegionMouseEventArgs::Region Property
Gets the designer region that was clicked, if any.
Assembly: System.Design (in System.Design.dll)
Property Value
Type: System.Web.UI.Design::DesignerRegionThe DesignerRegion that the click event applies to, or nullptr 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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.