Back to Devexpress

ConditionalFormattingCollection.Clear() Method

officefileapi-devexpress-dot-spreadsheet-dot-conditionalformattingcollection.md

latest4.4 KB
Original Source

ConditionalFormattingCollection.Clear() Method

Removes all conditional formatting rules from the collection.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void Clear()
vb
Sub Clear

Remarks

To remove the specified ConditionalFormatting object, use the ConditionalFormattingCollection.Remove method. 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