Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DesignerRegionMouseEventArgs Constructor (DesignerRegion^, Point)

 

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
)

Parameters

region
Type: System.Web.UI.Design::DesignerRegion^

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

location
Type: System.Drawing::Point

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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft