DataListSelect(Int32, Int32, Int32) Method

This is used to set the selected range of rows

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public void Select(
	int start,
	int end,
	int ensureVisible
)

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.

Remarks

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.

See Also