DesignerRegionMouseEventArgs.Location 属性

定义

获取被单击的控件内的位置。Gets the location within the control that was clicked.

public:
 property System::Drawing::Point Location { System::Drawing::Point get(); };
public System.Drawing.Point Location { get; }
member this.Location : System.Drawing.Point
Public ReadOnly Property Location As Point

属性值

Point,标识被单击的区域内的位置。The Point identifying the location within the region that was clicked.

注解

Location属性包含的坐标用于标识您单击的位置, 相对于区域的左上角。The Location property contains the coordinates that identify where you clicked, relative to the upper left corner of the region.

Location 属性DesignerRegionMouseEventArgs由构造函数进行初始化。The Location property is initialized by the DesignerRegionMouseEventArgs constructor.

适用于

另请参阅