Edytuj

Udostępnij za pośrednictwem


_Worksheet.EnableFormatConditionsCalculation Property

Definition

Returns or sets if conditional formats will occur automatically as needed. Read/write Boolean.

public:
 property bool EnableFormatConditionsCalculation { bool get(); void set(bool value); };
public bool EnableFormatConditionsCalculation { get; set; }
Public Property EnableFormatConditionsCalculation As Boolean

Property Value

Boolean

Remarks

When set to True (default), evaluation of conditional formats will occur automatically as needed. When set to False, conditional formats will not be re-evaluated. Any previously applied conditional formatting will still be visible, but it will not update as cell values or AppliesTo ranges are changed.

The purpose of this flag is to allow programmers to configure a rule completely before evaluating it. This is particularly useful when condition is applied over a large range as performance can be slow in these cases.

Applies to