This documentation is archived and is not being maintained.
DesignerRegionMouseEventArgs Constructor
Visual Studio 2010
Initializes a new instance of the DesignerRegionMouseEventArgs class with the specified region and location.
Assembly: System.Design (in System.Design.dll)
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.
- 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 SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: