DataListSelectionStart 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: 2023.4.9.0
public int SelectionStart { get; set; }

Property Value

Int32
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.

See Also