Bewerken

Delen via


ScrollBarEventArgs.MousePositionX Property

Definition

Gets the X position of the mouse cursor at the time the AxisScrollBarClicked event was raised.

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

Property Value

An integer value that represents the X mouse cursor position. The position is expressed in pixels, with 0,0 being the top-left corner of the chart image.

Remarks

This property is used to get the X mouse position, in pixels, when the end-user clicks on a scrollbar element. The 0,0 coordinate represents the top-left corner of the chart.

Applies to