[]
        
(Showing Draft Content)

C1.WPF.RulesManager.RulesManagerStylePreview

RulesManagerStylePreview Class

Control that previews a RulesEngineStyle.

Inheritance
RulesManagerStylePreview
Namespace: C1.WPF.RulesManager
Assembly: C1.WPF.RulesManager.dll
Syntax
[TemplatePart(Name = "Border", Type = typeof(C1Border))]
[TemplatePart(Name = "DataBar", Type = typeof(C1Border))]
[TemplatePart(Name = "IconPresenter", Type = typeof(ContentControl))]
[TemplatePart(Name = "TextPresenter", Type = typeof(TextBlock))]
public class RulesManagerStylePreview : C1View
<TemplatePart(Name:="Border", Type:=GetType(C1Border))>
<TemplatePart(Name:="DataBar", Type:=GetType(C1Border))>
<TemplatePart(Name:="IconPresenter", Type:=GetType(ContentControl))>
<TemplatePart(Name:="TextPresenter", Type:=GetType(TextBlock))>
Public Class RulesManagerStylePreview
    Inherits C1View

Constructors

Name Description
RulesManagerStylePreview()

Initializes a new instance of the RulesManagerStylePreview class.

Fields

Name Description
DataBarBackgroundProperty

Identifies the DataBarBackground dependency property.

DataBarBorderBrushProperty

Identifies the DataBarBorderBrush dependency property.

IconBrushProperty

Identifies the IconBrush dependency property.

IconTemplateProperty

Identifies the IconTemplate dependency property.

RuleBackgroundProperty

Identifies the RuleBackground dependency property.

RuleBorderBrushProperty

Identifies the RuleBorderBrush dependency property.

RuleFontFamilyProperty

Identifies the RuleFontFamily dependency property.

RuleFontSizeProperty

Identifies the RuleFontSize dependency property.

RuleFontStyleProperty

Identifies the RuleFontStyle dependency property.

RuleFontWeightProperty

Identifies the RuleFontWeight dependency property.

RuleForegroundProperty

Identifies the RuleForeground dependency property.

RuleTextAlignmentProperty

Identifies the RuleTextAlignment dependency property.

Properties

Name Description
DataBarBackground

Gets or sets the data-bar background.

DataBarBorderBrush

Gets or sets the data-bar border brush.

IconBrush

Gets or sets the icon brush.

IconTemplate

Gets or sets the icon template.

RuleBackground

Gets or sets the background of the rule.

RuleBorderBrush

Gets or sets the border brush of the rule.

RuleFontFamily

Gets or sets the font family applied to the rule.

RuleFontSize

Gets or sets the font size applied to the rule.

RuleFontStyle

Gets or sets the font style applied to the rule.

RuleFontWeight

Gets or sets the font weight applied to the rule.

RuleForeground

Gets or sets the foreground of the rule.

RuleTextAlignment

Gets or sets the text-alignment applied to the rule.

Methods

Name Description
Dispose(bool)
OnApplyTemplate()