[]
        
(Showing Draft Content)

C1.WPF.RulesManager.RulesManagerNewRuleForm

RulesManagerNewRuleForm Class

Editor form for RulesEngineRule.

Inheritance
RulesManagerNewRuleForm
Namespace: C1.WPF.RulesManager
Assembly: C1.WPF.RulesManager.dll
Syntax
[TemplatePart(Name = "Root", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "OkButton", Type = typeof(C1Button))]
[TemplatePart(Name = "CancelButton", Type = typeof(C1Button))]
public class RulesManagerNewRuleForm : C1View
<TemplatePart(Name:="Root", Type:=GetType(FrameworkElement))>
<TemplatePart(Name:="OkButton", Type:=GetType(C1Button))>
<TemplatePart(Name:="CancelButton", Type:=GetType(C1Button))>
Public Class RulesManagerNewRuleForm
    Inherits C1View

Constructors

Name Description
RulesManagerNewRuleForm()

Initializes a new instance of the RulesManagerNewRuleForm class.

Fields

Name Description
AttentionBackgroundColorProperty

Identifies the AttentionBackgroundColor dependency property.

CancelClicked

Called when the Cancel button is clicked.

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.

OKClicked

Called when the OK button is clicked.

RuleProperty

Identifies the Rule 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 state.

CautionBackgroundColor

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

CautionForegroundColor

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

CriticalBackgroundColor

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

CriticalForegroundColor

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

DefaultBackgroundColor

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

Rule

Gets or sets the editing rule.

RulesVisibility

Gets or sets the visibility of the different rule types.

SuccessBackgroundColor

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

SuccessForegroundColor

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

Methods

Name Description
Dispose(bool)
OnApplyTemplate()