DesignerRegionMouseEventArgs Constructor
Assembly: System.Design (in system.design.dll)
public DesignerRegionMouseEventArgs ( DesignerRegion region, Point location )
public function DesignerRegionMouseEventArgs ( region : DesignerRegion, location : Point )
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 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.