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 | |
---|---|---|
BindingProperty | ||
FalseStateProperty | ||
TrueStateProperty | ||
ValueProperty |
Top
Public Properties
(see also Protected Properties)
Name | Description | |
---|---|---|
Binding | Gets or sets the binding that produces the property value of the data object. This is a dependency property. | |
CanFreeze | (Inherited from Freezable) | |
DependencyObjectType | (Inherited from DependencyObject) | |
Dispatcher | (Inherited from DispatcherObject) | |
FalseState | Gets or sets the name of the visual state to transition to when the condition is not met. This is a dependency property. | |
HasAnimatedProperties | (Inherited from Animatable) | |
IsFrozen | (Inherited from Freezable) | |
IsSealed | (Inherited from DependencyObject) | |
TrueState | Gets or sets the name of the visual state to transition to when the condition is met. This is a dependency 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 | |
---|---|---|
AssociatedObject | Gets the object to which this Behavior`1 is attached. (Inherited from Behavior) | |
AssociatedType | The type to which this behavior can be attached. (Inherited from Behavior) |
Top
Public Methods
(see also Protected Methods)
Top
Protected Methods
Name | Description | |
---|---|---|
CloneCore | (Inherited from Freezable) | |
CloneCurrentValueCore | (Inherited from Freezable) | |
CreateInstance | (Inherited from Freezable) | |
CreateInstanceCore | (Inherited from Behavior) | |
Finalize | (Inherited from Object) | |
Freeze | Overloaded. (Inherited from Freezable) | |
FreezeCore | (Inherited from Animatable) | |
GetAsFrozenCore | (Inherited from Freezable) | |
GetCurrentValueAsFrozenCore | (Inherited from Freezable) | |
MemberwiseClone | (Inherited from Object) | |
OnAttached | Overridden. Called after the behavior is attached to an AssociatedObject. | |
OnChanged | (Inherited from Freezable) | |
OnDetaching | Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred. (Inherited from Behavior) | |
OnFreezablePropertyChanged | Overloaded. (Inherited from Freezable) | |
OnPropertyChanged | (Inherited from Freezable) | |
ReadPreamble | (Inherited from Freezable) | |
ShouldSerializeProperty | (Inherited from DependencyObject) | |
WritePostscript | (Inherited from Freezable) | |
WritePreamble | (Inherited from Freezable) |
Top
Public Events
Name | Description | |
---|---|---|
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