The requested page is not available for the requested platform. You are viewing the content for Default platform.

DataControlBase.SelectRange(Int32, Int32) Method

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

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v19.1.dll

Declaration

public void SelectRange(
    int startItemHandle,
    int endItemHandle
)
Public Sub SelectRange(
    startItemHandle As Integer,
    endItemHandle As Integer
)

Parameters

Name Type Description
startItemHandle Int32

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

endItemHandle Int32

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

Remarks

The SelectRange method adds the specified range of data rows/cards to the current selection. To clear the current selection before selecting, call the DataControlBase.UnselectAll method.

The SelectRange method does nothing in the cases listed below:

  • Multiple item selection isn't allowed.
  • The specified item handles are invalid.
  • The specified item handles point to hidden items that reside within collapsed groups.
See Also