[]
Clears a range.
public void Clear(ClearFlags clearFlags, CellRange rg)
Type | Name | Description |
---|---|---|
ClearFlags | clearFlags | ClearFlags value that specifies the elements to clear. |
CellRange | rg | Range to clear. |
Clears a range.
public void Clear(ClearFlags clearFlags, int topRow, int leftCol, int bottomRow, int rightCol)
Type | Name | Description |
---|---|---|
ClearFlags | clearFlags | ClearFlags value that specifies the elements to clear. |
int | topRow | Top row in the range. |
int | leftCol | Left column in the range. |
int | bottomRow | Bottom row in the range. |
int | rightCol | Right column in the range. |
Clears a cell.
public void Clear(ClearFlags clearFlags, int row, int col)
Type | Name | Description |
---|---|---|
ClearFlags | clearFlags | ClearFlags value that specifies the elements to clear. |
int | row | Row index. |
int | col | Column index. |
Clears the grid.
public void Clear(ClearFlags clearFlags)
Type | Name | Description |
---|---|---|
ClearFlags | clearFlags | ClearFlags value that specifies the elements to clear. |
The Clear(ClearFlags, CellRange) method does not affect the number of rows and columns on the grid, and can't be used to clear data when the grid is bound to a data source.
Clears the grid.
public virtual void Clear()
This method removes all data, styles, and user data from all cells, rows, and columns on the grid.
The Clear(ClearFlags, CellRange) method does not affect the number of rows and columns on the grid, and can't be used to clear data when the grid is bound to a data source.