Skip to main content
A newer version of this page is available. .

TreeListView.SelectRange(Int32, Int32) Method

OBSOLETE

Use the SelectRange method instead

Selects multiple nodes, while preserving the current selection (if any).

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.dll

Declaration

[Obsolete("Use the DataControlBase.SelectRange method instead")]
[Browsable(false)]
public void SelectRange(
    int startRowHandle,
    int endRowHandle
)

Parameters

Name Type Description
startRowHandle Int32

An integer value specifying the row handle at which the selection starts.

endRowHandle Int32

An integer value specifying the row handle at which the selection ends.

Remarks

The SelectRange method adds the specified range of nodes to the current selection. To clear the current selection before selection, call the DataControlBase.UnselectAll method.

The SelectRange method does nothing in the cases listed below:

  • Multiple node selection is not allowed.
  • The specified row handles are invalid.
  • The specified row handles point to hidden nodes that reside within collapsed nodes.
See Also