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


Gets or sets the starting position of a cursor's selected range.
Range selection start position.

Syntax

Visual Basic (Declaration)  
Public Property SelectionStart As Double
Visual Basic (Usage) Copy Code
Dim instance As Cursor
Dim value As Double
 
instance.SelectionStart = value
 
value = instance.SelectionStart
C#  
public double SelectionStart {get; set;}

Return Value

A Double value that represents the start position of a cursor's range selection.

Remarks

A user can select a range by clicking on the left mouse button and then moving the cursor position by dragging the mouse.  In addition a range selection can be set programmatically using either the SelectionEnd and SelectionStart properties or the SetSelectionPosition or SetSelectionPixelPosition  methods.

The start position of a range selection is calculated as a value of the axis that the cursor belongs to.  For example, if the cursor belongs to the primary X axis then setting this to a value of January 1, 2000 will result in the end of the selected region occurring at January 1, 2000 along the primary X axis.

To programmatically remove a range selection set the beginning and end points of the range to Double.NaN using the SelectionEnd and SelectionStart properties, or alternatively use the SetSelectionPosition method.

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.