[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.C1FlexGrid.Select

Select Method

Select(int, int)

Selects a given cell.

Declaration
public void Select(int row, int col)
Public Sub [Select](row As Integer, col As Integer)
Parameters
Type Name Description
int row

Index of the row that contains the selected cell.

int col

Index of the column that contains the selected cell.

Select(CellRange, bool)

Selects a given cell and optionally scrolls it into view.

Declaration
public void Select(CellRange rng, bool scrollIntoView)
Public Sub [Select](rng As CellRange, scrollIntoView As Boolean)
Parameters
Type Name Description
CellRange rng

CellRange to select.

bool scrollIntoView

Whether to scroll the new selection into view.

Select(int, int, bool)

Selects a given cell and optionally scrolls it into view.

Declaration
public void Select(int row, int col, bool scrollIntoView)
Public Sub [Select](row As Integer, col As Integer, scrollIntoView As Boolean)
Parameters
Type Name Description
int row

Index of the row that contains the selected cell.

int col

Index of the column that contains the selected cell.

bool scrollIntoView

Whether to scroll the new selection into view.

Select(int, int, int, int, bool)

Selects cell range and optionally scrolls it into view.

Declaration
public void Select(int row, int col, int row2, int col2, bool scrollIntoView)
Public Sub [Select](row As Integer, col As Integer, row2 As Integer, col2 As Integer, scrollIntoView As Boolean)
Parameters
Type Name Description
int row

Index of the first row in the selected range.

int col

Index of the first column in the selected range.

int row2

Index of the last row in the selected range.

int col2

Index of the last column in the selected range.

bool scrollIntoView

Whether to scroll the new selection into view.