Dundas Chart for Windows Forms
MousePositionX Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > ScrollBarEventArgs Class : MousePositionX Property


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

Syntax

Visual Basic (Declaration)  
Public ReadOnly Property MousePositionX As Integer
Visual Basic (Usage) Copy Code
Dim instance As ScrollBarEventArgs
Dim value As Integer
 
value = instance.MousePositionX
C#  
public int MousePositionX {get;}

Return Value

A value that represents the X mouse cursor position.  Measured 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 when the end-user clicks on a scrollbar element, and is measured in pixels.  The 0,0 coordinated is the top-left corner of the chart.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.