Skip to main content

XlCondFmtRuleBlanks(Boolean) Constructor

Initializes a new instance of the XlCondFmtRuleBlanks class with the specified settings.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public XlCondFmtRuleBlanks(
    bool containsBlanks
)

Parameters

Name Type Description
containsBlanks Boolean

true, to use the created formatting rule to highlight blank cells; otherwise, false.

Remarks

The conditional formatting rule, represented by the XlCondFmtRuleBlanks instance, can be used to format both blank and non-blank cells in the range. To create a rule to format non-blank cells in the specified range, create a new XlCondFmtRuleBlanks instance with the containsBlanks constructor parameter set to false.

See Also