SelectRange Method (IListBase<T>)

Selects all list items between (and including) the two specified items. This method is applicable only to lists that allow multiple selection.

This method has multiple overloads.

SelectRange (Int32) Method

Selects all list items between the currently selected item and the item whose index is specified. This method is applicable only to lists that allow multiple selection.

C# Syntax

void SelectRange(int indexTo)

Parameters

indexTo
The 0-based index of the last item to select.

SelectRange (Int32,Int32) Method

Selects all list items between (and including) the two specified items. This method is applicable only to lists that allow multiple selection.

C# Syntax

void SelectRange( 
   int indexFrom,
   int indexTo
)

Parameters

indexFrom
The 0-based index of the first item in the range.
indexTo
The 0-based index of the last item in the range.

SelectRange (String) Method

Selects all list items between the currently selected item and the item whose text is specified. This method is applicable only to lists that allow multiple selection.

C# Syntax

void SelectRange(string itemTo)

Parameters

itemTo
The text of the last item to select.

SelectRange (String,String) Method

Selects all list items between (and including) the two specified items. This method is applicable only to lists that allow multiple selection.

Note: Supported from LeanFT 14.51.

C# Syntax

void SelectRange( 
   string itemNameFrom,
   string itemNameTo
)

Parameters

itemNameFrom
The text of the first item in the range.
itemNameTo
The text of the last item in the range.

SelectRange (T) Method

Selects all list items between the currently selected item and the item passed as the argument. This method is applicable only to lists that allow multiple selection.

Note: Supported from LeanFT 14.51.

C# Syntax

void SelectRange(T itemTo)

Parameters

itemTo
The last item to select.

SelectRange (T,T) Method

Selects all list items between (and including) the two specified items. This method is applicable only to lists that allow multiple selection.

Note: Supported from LeanFT 14.51.

C# Syntax

void SelectRange( 
   T itemFrom,
   T itemTo
)

Parameters

itemFrom
The first item in the range.
itemTo
The last item in the range.