DataTriggerBehavior Class
Represents a behavior that performs actions when the bound data meets a specified condition.
Inheritance Hierarchy
System.Object
DependencyObject
Microsoft.Xaml.Interactions.Core.DataTriggerBehavior
Namespace: Microsoft.Xaml.Interactions.Core
Assembly: Microsoft.Xaml.Interactions (in Microsoft.Xaml.Interactions.dll)
Syntax
'Declaration
Public NotInheritable Class DataTriggerBehavior _
Inherits DependencyObject _
Implements IBehavior
public sealed class DataTriggerBehavior : DependencyObject,
IBehavior
public ref class DataTriggerBehavior sealed : public DependencyObject,
IBehavior
[<Sealed>]
type DataTriggerBehavior =
class
inherit DependencyObject
interface IBehavior
end
public final class DataTriggerBehavior extends DependencyObject implements IBehavior
The DataTriggerBehavior type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataTriggerBehavior | Initializes a new instance of the DataTriggerBehavior class. |
Top
Properties
Name | Description | |
---|---|---|
Actions | Gets the collection of actions associated with the behavior. This is a dependency property. | |
AssociatedObject | Gets the DependencyObject to which the IBehavior is attached. | |
Binding | Gets or sets the bound object that the DataTriggerBehavior will listen to. This is a dependency property. | |
ComparisonCondition | Gets or sets the type of comparison to be performed between Binding and Value. This is a dependency property. | |
Dispatcher | (Inherited from DependencyObject.) | |
Value | Gets or sets the value to be compared with the value of Binding. This is a dependency property. |
Top
Methods
Name | Description | |
---|---|---|
Attach | Attaches to the specified object. | |
ClearValue | (Inherited from DependencyObject.) | |
Detach | Detaches this instance from its associated object. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetAnimationBaseValue | (Inherited from DependencyObject.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue | (Inherited from DependencyObject.) | |
ReadLocalValue | (Inherited from DependencyObject.) | |
SetValue | (Inherited from DependencyObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
ActionsProperty | Specifies the collection of actions associated with the behavior. | |
BindingProperty | the bound object that the DataTriggerBehavior will listen to. | |
ComparisonConditionProperty | Specifies the type of comparison to be performed between Binding and Value. | |
ValueProperty | Specifies the value to be compared with the value of Binding. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.