ScrollBarEventArgs.MousePositionY 属性

定义

获取引发 AxisScrollBarClicked 事件时鼠标光标的 Y 轴位置。Gets the Y position of the mouse cursor at the time the AxisScrollBarClicked event was raised.

public:
 property int MousePositionY { int get(); };
public int MousePositionY { get; }
member this.MousePositionY : int
Public ReadOnly Property MousePositionY As Integer

属性值

Int32

表示鼠标光标 Y 轴位置的 integer 值。An integer value that represents the Y mouse cursor position. 该位置用像素表示,0,0 表示图表图像的左上角。The position is expressed in pixels, with 0,0 being the top-left corner of the chart image.

注解

当最终用户单击滚动条元素时,此属性用于获取 Y 鼠标位置(以像素为单位)。This property is used to get the Y mouse position, in pixels, when the end-user clicks on a scrollbar element. 0,0坐标表示图表的左上角。The 0,0 coordinate represents the top-left corner of the chart.

适用于