DataListSelectionEnd Property

This property is used to set or get the zero-based ending 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 SelectionEnd { get; set; }

Property Value

Int32
This returns the zero-based ending row number of the selection range. If there is no selected row range, it returns -1. If SelectionStart has not been set when this property is set, the starting 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 less than the current starting 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