Show / Hide Table of Contents

Class ConditionBehavior

A behavior that attaches to a trigger and controls the conditions to fire the actions.

Inheritance
System.Object
DependencyObject
Behavior
Behavior<TriggerBase>
ConditionBehavior
Implements
IAttachedObject
Inherited Members
Behavior<TriggerBase>.AssociatedObject
Behavior.AssociatedType
Behavior.IAttachedObject.AssociatedObject
Behavior.Attach(DependencyObject)
Behavior.Detach()
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.Expression.Interactivity.Core
Assembly: OpenSilver.Expression.Interactions.dll
Syntax
public class ConditionBehavior : Behavior<TriggerBase>, IDependencyObject, IAttachedObject

Constructors

| Improve this Doc View Source

ConditionBehavior()

Initializes a new instance of the ConditionBehavior class.

Declaration
public ConditionBehavior()

Fields

| Improve this Doc View Source

ConditionProperty

Declaration
public static readonly DependencyProperty ConditionProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

Condition

Gets or sets the IConditon object on behavior.

Declaration
public ICondition Condition { get; set; }
Property Value
Type Description
ICondition

The name of the condition to change.

Methods

| Improve this Doc View Source

OnAttached()

Declaration
protected override void OnAttached()
Overrides
Behavior.OnAttached()
| Improve this Doc View Source

OnDetaching()

Declaration
protected override void OnDetaching()
Overrides
Behavior.OnDetaching()

Implements

IAttachedObject

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
  • Improve this Doc
  • View Source