Range selection start position.
Visual Basic (Declaration) | |
---|---|
Public Property SelectionStart As Double |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public double SelectionStart {get; set;} |
Return Value
A Double value that represents the start position of a cursor's range selection.
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.
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