Windows apps
Collapse the table of content
Expand the table of content

DataTriggerBehavior Class

Represents a behavior that performs actions when the bound data meets a specified condition.

System::Object
  DependencyObject
    Microsoft.Xaml.Interactions.Core::DataTriggerBehavior

Namespace:  Microsoft.Xaml.Interactions.Core
Assembly:  Microsoft.Xaml.Interactions (in Microsoft.Xaml.Interactions.dll)

public ref class DataTriggerBehavior sealed : public DependencyObject, 
	IBehavior

The DataTriggerBehavior type exposes the following members.

  NameDescription
Public methodDataTriggerBehaviorInitializes a new instance of the DataTriggerBehavior class.
Top

  NameDescription
Public propertyActionsGets the collection of actions associated with the behavior. This is a dependency property.
Public propertyAssociatedObjectGets the DependencyObject to which the IBehavior is attached.
Public propertyBindingGets or sets the bound object that the DataTriggerBehavior will listen to. This is a dependency property.
Public propertyComparisonConditionGets or sets the type of comparison to be performed between Binding and Value. This is a dependency property.
Public propertyDispatcher (Inherited from DependencyObject.)
Public propertyValueGets or sets the value to be compared with the value of Binding. This is a dependency property.
Top

  NameDescription
Public methodAttachAttaches to the specified object.
Public methodClearValue (Inherited from DependencyObject.)
Public methodDetachDetaches this instance from its associated object.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetAnimationBaseValue (Inherited from DependencyObject.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetValue (Inherited from DependencyObject.)
Public methodReadLocalValue (Inherited from DependencyObject.)
Public methodSetValue (Inherited from DependencyObject.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberActionsPropertySpecifies the collection of actions associated with the behavior.
Public fieldStatic memberBindingPropertythe bound object that the DataTriggerBehavior will listen to.
Public fieldStatic memberComparisonConditionPropertySpecifies the type of comparison to be performed between Binding and Value.
Public fieldStatic memberValuePropertySpecifies the value to be compared with the value of Binding.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2017 Microsoft