ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / DataGridSelection Class / Add Method / Add(DataGridCell,DataGridCell) Method
From cell.
To cell.

In This Topic
    Add(DataGridCell,DataGridCell) Method
    In This Topic
    Adds the range between fromCell and toCell to the selection. In case the selection mode didn't accept a range the toCell will be selected.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal fromCell As DataGridCell, _
       ByVal toCell As DataGridCell _
    ) As Boolean

    Parameters

    fromCell
    From cell.
    toCell
    To cell.
    See Also