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


Occurs when the cursor position is changing.
Called when cursor position is about to change.

Syntax

Visual Basic (Declaration)  
Public Event CursorPositionChanging() As Chart.CursorEventHandler
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim handler As Chart.CursorEventHandler
 
AddHandler instance.CursorPositionChanging, handler
C#  
public event Chart.CursorEventHandler CursorPositionChanging()

Event Data

The event handler receives an argument of type CursorEventArgs containing data related to this event. The following CursorEventArgs properties provide information specific to this event.

Property Description
Axis Gets the Axis object that a cursor or range selection belongs to.
Axis of the event.
ChartArea Gets the ChartArea object that a cursor or range selection belongs to.
Chart area of the event.
NewPosition Gets the position of a cursor, and depending on the event also sets the cursor's position.
New cursor position.
NewSelectionEnd Gets the end position of a selected range, and depending on the event also sets the range's end position.
New range selection end position.
NewSelectionStart Gets the start position of a selected range, and depending on the event also sets the range's start position.
New range selection start position.

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.