[]
Removes a cell condition established with a previous call to the AddCellStyle(CellStyleFlag, Style) method.
public void ClearCellStyle(CellStyleFlag condition)
Type | Name | Description |
---|---|---|
CellStyleFlag | condition |
The ClearCellStyle method removes a cell condition established with a previous call to the AddCellStyle(CellStyleFlag, Style) method for the object in question. If no such cell condition exists, then calling this method has no effect.
If the condition argument is CellStyleFlag.AllCells, then all non-regex cell conditions are removed, regardless of status.