DesignerRegionMouseEventArgs.DesignerRegionMouseEventArgs Constructor

Initializes a new instance of the DesignerRegionMouseEventArgs class with the specified region and location.

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

public:
DesignerRegionMouseEventArgs (
	DesignerRegion^ region, 
	Point location
)
public DesignerRegionMouseEventArgs (
	DesignerRegion region, 
	Point location
)
public function DesignerRegionMouseEventArgs (
	region : DesignerRegion, 
	location : Point
)
Not applicable.

Parameters

region

The designer region that was clicked; used to initialize the Region.

location

The location that was clicked, relative to the upper left corner of the region; used to initialize the Location.

A ViewEvent delegate method uses the DesignerRegionMouseEventArgs constructor to initialize a DesignerRegionMouseEventArgs object for use with a ViewEventArgs object.

When you click a control region at design time, the designer host initializes a ViewEventArgs object for a Click event type, and then sets the EventArgs property with a DesignerRegionMouseEventArgs object.

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: