Back to Devexpress

ConditionalFormattingCollection.Remove(CellRange) Method

officefileapi-devexpress-dot-spreadsheet-dot-conditionalformattingcollection-dot-remove-x28-devexpress-dot-spreadsheet-dot-cellrange-x29.md

latest4.7 KB
Original Source

ConditionalFormattingCollection.Remove(CellRange) Method

Removes all conditional formatting rules applied to the specified range of cells.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void Remove(
    CellRange range
)
vb
Sub Remove(
    range As CellRange
)

Parameters

NameTypeDescription
rangeCellRange

A CellRange object that specifies a range of cells over which the conditional formatting rules are applied.

|

Remarks

To remove the ConditionalFormatting object at the specified index from the collection, use the ConditionalFormattingCollection.RemoveAt method. To delete all conditional formatting rules from the worksheet, use the ConditionalFormattingCollection.Clear method.

To create the specified conditional formatting rule, use one of the following methods:

See Also

ConditionalFormattingCollection Interface

ConditionalFormattingCollection Members

DevExpress.Spreadsheet Namespace