Data ListSelection Start Property
This property is used to set or get the zero-based starting row number of the currently selected
range of rows.
Definition
Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
This returns the zero-based starting row number of the selection range. If there is no selected row range, it returns -1. If SelectionEnd has not been set when this property is set, the ending selection is set to the same value. If the value is not within the bounds of the current row count, it is adjusted to be valid. If the new value is greater than the current ending value, the values are swapped so that the range always starts at the lowest row number and goes to the highest row number. Setting it to -1 clears the selection.
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public int SelectionStart { get; set; }VB
Public Property SelectionStart As Integer
Get
SetC++
public:
property int SelectionStart {
int get ();
void set (int value);
}F#
member SelectionStart : int with get, setProperty Value
Int32This returns the zero-based starting row number of the selection range. If there is no selected row range, it returns -1. If SelectionEnd has not been set when this property is set, the ending selection is set to the same value. If the value is not within the bounds of the current row count, it is adjusted to be valid. If the new value is greater than the current ending value, the values are swapped so that the range always starts at the lowest row number and goes to the highest row number. Setting it to -1 clears the selection.