Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

SelectRange Method, SftTree Class

Selects or deselects a range of items or cells.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public void SelectRange(
    ItemClass StartItem,
    ItemClass EndItem,
    bool fSel );
public void SelectRange(
    CellClass StartCell,
    CellClass EndCell,
    bool fSel );
Public Sub SelectRange(
    ByVal StartItem As ItemClass,
    ByVal EndItem As ItemClass,
    ByVal fSel As Boolean )
Public Sub SelectRange(
    ByVal StartCell As CellClass,
    ByVal EndCell As CellClass,
    ByVal fSel As Boolean )

Parameters

StartItem

Defines the starting item or cell.

EndItem

Defines the ending item or cell.

fSel

True if the items or cells are selected, otherwise False.

StartCell

Defines the starting item or cell.

EndCell

Defines the ending item or cell.

Comments

Selects or deselects a range of items or cells.

SelectRange accepting items as arguments is only available if the selection style (SftTree.SelectionStyle property) defines multiple item selection (SelectionStyleEnum.MultipleItems).

SelectRange accepting cells as arguments is only available if the selection style (SftTree.SelectionStyle property) defines multiple cell selection (SelectionStyleEnum.MultipleCells or SelectionStyleEnum.BlockOfCells).

This method is not available with all other selection styles.

SelectRange accepting items as arguments is only available if the selection style (SftTree.SelectionStyle property) defines multiple item selection (SelectionStyleEnum.MultipleItems).

SelectRange accepting as cells arguments is only available if the selection style (SftTree.SelectionStyle property) defines multiple cell selection (SelectionStyleEnum.MultipleCells or SelectionStyleEnum.BlockOfCells).

This method is not available with all other selection styles.

See Also SftTree Class | Classes | SftTree/NET 2.0