officefileapi-devexpress-dot-spreadsheet-dot-worksheet-24453e55.md
Provides access to the collection of all conditional formatting rules on a worksheet.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
ConditionalFormattingCollection ConditionalFormattings { get; }
ReadOnly Property ConditionalFormattings As ConditionalFormattingCollection
| Type | Description |
|---|---|
| ConditionalFormattingCollection |
A ConditionalFormattingCollection collection that stores all conditional formatting rules specified on a worksheet.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the ConditionalFormattings property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
#region #AverageConditionalFormatting
ConditionalFormattingCollection conditionalFormattings = worksheet.ConditionalFormattings;
// Create the rule highlighting values that are above the average in cells C2 through C15.
#region #AverageConditionalFormatting
ConditionalFormattingCollection conditionalFormattings = worksheet.ConditionalFormattings;
// Create the rule highlighting values that are above the average in cells C2 through C15.
#region #AverageConditionalFormatting
ConditionalFormattingCollection conditionalFormattings = worksheet.ConditionalFormattings;
// Create the rule highlighting values that are above the average in cells C2 through C15.
' #Region "#AverageConditionalFormatting"
Dim conditionalFormattings As ConditionalFormattingCollection = worksheet.ConditionalFormattings
' Create the rule highlighting values that are above the average in cells C2 through C15.
#Region "#AverageConditionalFormatting"
Dim conditionalFormattings As ConditionalFormattingCollection = worksheet.ConditionalFormattings
' Create the rule highlighting values that are above the average in cells C2 through C15.
' #Region "#AverageConditionalFormatting"
Dim conditionalFormattings As ConditionalFormattingCollection = worksheet.ConditionalFormattings
' Create the rule highlighting values that are above the average in cells C2 through C15.
See Also