DataListSelect(Int32, Int32, Int32) Method
This is used to set the selected range of rows
Namespace: EWSoftware.ListControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public void Select(
int start,
int end,
int ensureVisible
)
Public Sub Select (
start As Integer,
end As Integer,
ensureVisible As Integer
)
public:
void Select(
int start,
int end,
int ensureVisible
)
member Select :
start : int *
end : int *
ensureVisible : int -> unit
Parameters
- start Int32
- The zero-based starting row number
- end Int32
- The zero-based ending row number
- ensureVisible Int32
- The row to ensure is visible after setting the selection. Specify -1 to
not change the visible row.
If either value is outside the current row count, it will be forced to a valid value. The
range will also be swapped if necessary to start from the lowest value and end at the highest
value.