Table of Contents

Class TextBlockFiltersCountBehavior

Namespace
H.Controls.FilterBox
Assembly
H.Controls.FilterBox.dll
public class TextBlockFiltersCountBehavior : Behavior<TextBlock>, IAnimatable, IAttachedObject
Inheritance
Behavior
Behavior<TextBlock>
TextBlockFiltersCountBehavior
Implements
IAttachedObject
Inherited Members
Behavior<TextBlock>.AssociatedObject
Behavior.CreateInstanceCore()
Behavior.Detach()
Behavior.AssociatedType
Extension Methods

Constructors

TextBlockFiltersCountBehavior()

public TextBlockFiltersCountBehavior()

Fields

ConditionOperateProperty

public static readonly DependencyProperty ConditionOperateProperty

Field Value

DependencyProperty

FormatProperty

public static readonly DependencyProperty FormatProperty

Field Value

DependencyProperty

HeaderProperty

public static readonly DependencyProperty HeaderProperty

Field Value

DependencyProperty

ItemsSourceProperty

public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

Properties

ConditionOperate

public ConditionOperate ConditionOperate { get; set; }

Property Value

ConditionOperate

DisplayFilters

public ObservableCollection<IDisplayFilter> DisplayFilters { get; }

Property Value

ObservableCollection<IDisplayFilter>

Format

public string Format { get; set; }

Property Value

string

Header

public string Header { get; set; }

Property Value

string

ItemsSource

public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

Methods

GetConditionOperate(ConditionOperate)

public string GetConditionOperate(ConditionOperate conditionOperate)

Parameters

conditionOperate ConditionOperate

Returns

string

OnAttached()

Called after the behavior is attached to an AssociatedObject.

protected override void OnAttached()

Remarks

Override this to hook up functionality to the AssociatedObject.

OnDetaching()

Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.

protected override void OnDetaching()

Remarks

Override this to unhook functionality from the AssociatedObject.