[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGridBase.Select

Select Method

Select(CellRange, bool)

Selects a range of cells.

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

CellRange that specifies the cells that will be selected.

bool show

Whether to scroll the new selection into view.

Select(IList<CellRange>, bool)

Selects a ranges of cells in MultiRange mode.

Declaration
public void Select(IList<CellRange> ranges, bool show)
Public Sub [Select](ranges As IList(Of CellRange), show As Boolean)
Parameters
Type Name Description
IList<CellRange> ranges

CellRange that specifies ranges of the cells that will be selected.

bool show

Whether to scroll the last selection range into view.

Select(CellRange)

Selects a range of cells and scrolls it into view.

Declaration
public void Select(CellRange rg)
Public Sub [Select](rg As CellRange)
Parameters
Type Name Description
CellRange rg

CellRange that specifies the cells that will be selected.

Select(IList<CellRange>)

Selects a ranges of cells and scrolls last selection range into view in MultiRange mode.

Declaration
public void Select(IList<CellRange> ranges)
Public Sub [Select](ranges As IList(Of CellRange))
Parameters
Type Name Description
IList<CellRange> ranges

CellRange that specifies the cells that will be selected.

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

Selects a range of cells.

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

New value for the Row property.

int col

New value for the Col property.

int rowSel

New value for the RowSel property.

int colSel

New value for the ColSel property.

bool show

Whether to scroll the new selection into view.

Remarks

Using the Select(CellRange, bool) method is equivalent to setting the Row, Col, RowSel, and ColSel properties.

Select(int, int, int, int)

Selects a range of cells and scrolls it into view.

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

New value for the Row property.

int col

New value for the Col property.

int rowSel

New value for the RowSel property.

int colSel

New value for the ColSel property.

Remarks

Using the Select(CellRange, bool) method is equivalent to setting the Row, Col, RowSel, and ColSel properties.

Select(int, int, bool)

Selects a cell.

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

New value for the Row property.

int col

New value for the Col property.

bool show

Whether to scroll the new selection into view.

Remarks

Using the Select(CellRange, bool) method is equivalent to setting the Row and Col properties.

Select(int, int)

Selects a cell and scrolls it into view.

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

New value for the Row property.

int col

New value for the Col property.

Remarks

Using the Select(CellRange, bool) method is equivalent to setting the Row and Col properties.