DesignerRegionMouseEventArgs.Region Property

Gets the designer region that was clicked, if any.

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

public:
property DesignerRegion^ Region {
	DesignerRegion^ get ();
}
/** @property */
public DesignerRegion get_Region ()

public function get Region () : DesignerRegion

Not applicable.

Property Value

The DesignerRegion that the click event applies to, or a null reference (Nothing in Visual Basic) 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.

No code example is currently available or this language may not be supported.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: