FormatCondition Members
Represents a conditional format based on a formula.Constructors
| Name | Description |
|---|---|
| FormatCondition() | Initializes a new instance of the FormatCondition class. |
Fields
| Name | Description |
|---|---|
| ApplyToRowProperty static | Identifies the FormatConditionBase.ApplyToRow dependency property. Inherited from FormatConditionBase. |
| ExpressionProperty static | Identifies the FormatCondition.Expression dependency property. |
| FieldNameProperty static | Identifies the FormatConditionBase.FieldName dependency property. Inherited from FormatConditionBase. |
| FormatProperty static | Identifies the FormatCondition.Format dependency property. |
| IsEnabledProperty static | Identifies the FormatConditionBase.IsEnabled dependency property. Inherited from FormatConditionBase. |
| PredefinedFormatNameProperty static | Identifies the FormatConditionBase.PredefinedFormatName dependency property. Inherited from FormatConditionBase. |
| Value1Property static | Identifies the FormatCondition.Value1 dependency property. |
| Value2Property static | Identifies the FormatCondition.Value2 dependency property. |
| ValueRuleProperty static | Identifies the FormatCondition.ValueRule dependency property. |
Properties
| Name | Description |
|---|---|
| ActualFormat | Returns the actual appearance settings used by the conditional formatting rule. Inherited from FormatConditionBase. |
| ApplyToRow | Specifies whether to apply a conditional format to the entire row. This is a dependency property. Inherited from FormatConditionBase. |
| Expression | Specifies the expression used to apply a conditional format. This is a dependency property. |
| FieldName | Specifies the data source field name of the column to which to apply the conditional format. This is a dependency property. Inherited from FormatConditionBase. |
| Format | Specifies the custom formatting settings. This is a dependency property. |
| IsEnabled | Specifies whether the conditional format is enabled. This is a dependency property. Inherited from FormatConditionBase. |
| PredefinedFormatName | Specifies the name of the predefined format to be applied to the cells. This is a dependency property. Inherited from FormatConditionBase. |
| Value1 | The lowest value in the column’s data range. This is a dependency property. |
| Value2 | The largest value in the column’s data range. This is a dependency property. |
| ValueRule | Specifies the rule for conditional formatting. This is a dependency property. |
Methods
| Name | Description |
|---|---|
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also