DesignerRegionMouseEventArgs(DesignerRegion, Point) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DesignerRegionMouseEventArgs class with the specified region and location.
public:
DesignerRegionMouseEventArgs(System::Web::UI::Design::DesignerRegion ^ region, System::Drawing::Point location);
public DesignerRegionMouseEventArgs (System.Web.UI.Design.DesignerRegion region, System.Drawing.Point location);
new System.Web.UI.Design.DesignerRegionMouseEventArgs : System.Web.UI.Design.DesignerRegion * System.Drawing.Point -> System.Web.UI.Design.DesignerRegionMouseEventArgs
Public Sub New (region As DesignerRegion, location As Point)
Parameters
- region
- DesignerRegion
The designer region that was clicked; used to initialize the Region.
- location
- Point
The location that was clicked, relative to the upper left corner of the region; used to initialize the Location.
Remarks
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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om