[]
        
(Showing Draft Content)

C1.WPF.RulesManager.C1RulesManager

C1RulesManager Class

The C1RulesManager control allows to create or edit conditional formatting rules. Conditional formatting is used to highlight important information and make data interpretation easier.

Inheritance
C1RulesManager
Namespace: C1.WPF.RulesManager
Assembly: C1.WPF.RulesManager.dll
Syntax
[TemplatePart(Name = "Accordion", Type = typeof(C1Accordion))]
[TemplatePart(Name = "AddRuleButton", Type = typeof(C1Button))]
public class C1RulesManager : C1View
<TemplatePart(Name:="Accordion", Type:=GetType(C1Accordion))>
<TemplatePart(Name:="AddRuleButton", Type:=GetType(C1Button))>
Public Class C1RulesManager
    Inherits C1View

Constructors

Name Description
C1RulesManager()

Initializes a new instance of the C1RulesManager class.

Fields

Name Description
AttentionBackgroundColorProperty

Identifies the AttentionBackgroundColor dependency property.

AutoApplyProperty

Identifies the AutoApply dependency property.

CautionBackgroundColorProperty

Identifies the CautionBackgroundColor dependency property.

CautionForegroundColorProperty

Identifies the CautionForegroundColor dependency property.

CriticalBackgroundColorProperty

Identifies the CriticalBackgroundColor dependency property.

CriticalForegroundColorProperty

Identifies the CriticalForegroundColor dependency property.

DefaultBackgroundColorProperty

Identifies the DefaultBackgroundColor dependency property.

EngineProperty

Identifies the Engine dependency property.

IsAddButtonVisibleProperty

Identifies the IsAddButtonVisible dependency property.

IsRemoveButtonVisibleProperty

Identifies the IsRemoveButtonVisible dependency property.

IsRuleNameVisibleProperty

Identifies the IsRuleNameVisible dependency property.

RulesVisibilityProperty

Identifies the RulesVisibility dependency property.

SuccessBackgroundColorProperty

Identifies the SuccessBackgroundColor dependency property.

SuccessForegroundColorProperty

Identifies the SuccessForegroundColor dependency property.

Properties

Name Description
AttentionBackgroundColor

Gets or sets a value color for representing the attention background state.

AutoApply

Gets or sets a value indicating whether the rules changes should be automatically applied to the engine after the user-interface is changed.

CautionBackgroundColor

Gets or sets a value color for representing a caution background state.

CautionForegroundColor

Gets or sets a value color for representing a caution foreground state.

CriticalBackgroundColor

Gets or sets a value color for representing a critical background state.

CriticalForegroundColor

Gets or sets a value color for representing a critical foreground state.

DefaultBackgroundColor

Gets or sets a value color for representing the default background state.

Engine

Gets or sets the rules engine which holds the rules to be edited.

IsAddButtonVisible

Gets or sets whether the button to add new rules is visible.

IsRemoveButtonVisible

Gets or sets whether the button to remove rules is visible.

IsRuleNameVisible

Gets or sets whether the name of the rule is visible in the rule editor.

RulesVisibility

Gets or sets the visibility of the different kinds of rules.

SuccessBackgroundColor

Gets or sets a value color for representing a success background state.

SuccessForegroundColor

Gets or sets a value color for representing a success foreground state.

Methods

Name Description
Dispose(bool)
Load(Stream)

Loads the rules definition from a Stream.

OnApplyTemplate()
Save(Stream)

Saves the rules definition into a Stream.