Share via


DataStateBehavior Members

Toggles between two states based on a conditional statement.

The following tables list the members exposed by the DataStateBehavior type.

Public Constructors

  Name Description
DataStateBehavior Initializes a new instance of the Behavior`1 class.

Top

Public Fields

  Name Description
public fieldstatic BindingProperty  
public fieldstatic FalseStateProperty  
public fieldstatic TrueStateProperty  
public fieldstatic ValueProperty  

Top

Public Properties

(see also Protected Properties)

  Name Description
public property Binding Gets or sets the binding that produces the property value of the data object. This is a dependency property.
public property CanFreeze  (Inherited from Freezable)
public property DependencyObjectType  (Inherited from DependencyObject)
public property Dispatcher  (Inherited from DispatcherObject)
public property FalseState Gets or sets the name of the visual state to transition to when the condition is not met. This is a dependency property.
public property HasAnimatedProperties  (Inherited from Animatable)
public property IsFrozen  (Inherited from Freezable)
public property IsSealed  (Inherited from DependencyObject)
public property TrueState Gets or sets the name of the visual state to transition to when the condition is met. This is a dependency property.
public property Value Gets or sets the value to be compared with the property value of the data object. This is a dependency property.

Top

Protected Properties

  Name Description
protected property AssociatedObject  Gets the object to which this Behavior`1 is attached.  (Inherited from Behavior)
protected property AssociatedType  The type to which this behavior can be attached.  (Inherited from Behavior)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method ApplyAnimationClock  Overloaded. (Inherited from Animatable)
public method Attach  (Inherited from Behavior)
public method BeginAnimation  Overloaded. (Inherited from Animatable)
public method CheckAccess  (Inherited from DispatcherObject)
public method ClearValue  Overloaded. (Inherited from DependencyObject)
public method Clone  (Inherited from Animatable)
public method CloneCurrentValue  (Inherited from Freezable)
public method CoerceValue  (Inherited from DependencyObject)
public method Detach  Detaches this instance from its associated object.  (Inherited from Behavior)
public method Equals  Overloaded. (Inherited from DependencyObject)
public method Freeze  Overloaded. (Inherited from Freezable)
public method GetAnimationBaseValue  (Inherited from Animatable)
public method GetAsFrozen  (Inherited from Freezable)
public method GetCurrentValueAsFrozen  (Inherited from Freezable)
public method GetHashCode  (Inherited from DependencyObject)
public method GetLocalValueEnumerator  (Inherited from DependencyObject)
public method GetType  (Inherited from Object)
public method GetValue  (Inherited from DependencyObject)
public method InvalidateProperty  (Inherited from DependencyObject)
public method ReadLocalValue  (Inherited from DependencyObject)
public methodstatic ReferenceEquals  (Inherited from Object)
public method SetCurrentValue  (Inherited from DependencyObject)
public method SetValue  Overloaded. (Inherited from DependencyObject)
public methodstatic ShouldSerializeStoredWeakReference  (Inherited from Animatable)
public method ToString  (Inherited from Object)
public method VerifyAccess  (Inherited from DispatcherObject)

Top

Protected Methods

  Name Description
protected method CloneCore  (Inherited from Freezable)
protected method CloneCurrentValueCore  (Inherited from Freezable)
protected method CreateInstance  (Inherited from Freezable)
protected method CreateInstanceCore  (Inherited from Behavior)
protected method Finalize  (Inherited from Object)
protected methodstatic Freeze  Overloaded. (Inherited from Freezable)
protected method FreezeCore  (Inherited from Animatable)
protected method GetAsFrozenCore  (Inherited from Freezable)
protected method GetCurrentValueAsFrozenCore  (Inherited from Freezable)
protected method MemberwiseClone  (Inherited from Object)
protected method OnAttached Overridden. Called after the behavior is attached to an AssociatedObject.
protected method OnChanged  (Inherited from Freezable)
protected method OnDetaching  Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.  (Inherited from Behavior)
protected method OnFreezablePropertyChanged  Overloaded. (Inherited from Freezable)
protected method OnPropertyChanged  (Inherited from Freezable)
protected method ReadPreamble  (Inherited from Freezable)
protected method ShouldSerializeProperty  (Inherited from DependencyObject)
protected method WritePostscript  (Inherited from Freezable)
protected method WritePreamble  (Inherited from Freezable)

Top

Public Events

  Name Description
public event Changed  (Inherited from Freezable)

Top

Explicit Interface Implementations

  Name Description
System.Windows.Interactivity.IAttachedObject.AssociatedObject  Gets the object to which this Behavior`1 is attached.  (Inherited from Behavior)

Top

See Also

Reference

DataStateBehavior Class
Microsoft.Expression.Interactivity.Core Namespace