Skip to main content
All docs
V26.1
  • ReadOnlyDependencyPropertyBindingBehavior Members

    Allows you to bind read-only dependency and attached properties to a ViewModel’s properties.

    Constructors

    Name Description
    ReadOnlyDependencyPropertyBindingBehavior() Initializes a new instance of the ReadOnlyDependencyPropertyBindingBehavior class.

    Fields

    Name Description
    BindingProperty static Identifies the Binding dependency property.
    CommandProperty static Identifies the Command dependency property.
    DependencyPropertyProperty static Identifies the DependencyProperty dependency property.
    IsEnabledProperty static Identifies the IsEnabled dependency property.
    PropertyProperty static Identifies the Property dependency property.

    Properties

    Name Description
    Binding Gets or sets a binding that should be applied to the specified property. This is a dependency property.
    Command Gets or sets the command that the ReadOnlyDependencyPropertyBindingBehavior should execute when the bound property’s value is changed (specified in the Property or DependencyProperty). This is a dependency property.
    DependencyProperty Gets or sets the bound property. This is a dependency property.
    HasAnimatedProperties Gets a value that indicates whether one or more AnimationClock objects is associated with any of this object’s dependency properties. Inherited from Animatable.
    IsEnabled Gets or sets whether a bound ViewModel’s property should be updated. This is a dependency property.
    Property Gets or sets the bound property’s name. This is a dependency property.

    Methods

    Name Description
    ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the specified HandoffBehavior is used. Inherited from Animatable.
    ApplyAnimationClock(DependencyProperty, AnimationClock) Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the SnapshotAndReplace handoff behavior is used. Inherited from Animatable.
    BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the specified HandoffBehavior is used. Inherited from Animatable.
    BeginAnimation(DependencyProperty, AnimationTimeline) Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the SnapshotAndReplace handoff behavior is used. Inherited from Animatable.
    Clone() Creates a modifiable clone of this Animatable, making deep copies of this object’s values. When copying this object’s dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values. Inherited from Animatable.
    GetAnimationBaseValue(DependencyProperty) Returns the non-animated value of the specified DependencyProperty. Inherited from Animatable.
    ShouldSerializeStoredWeakReference(DependencyObject) static Specifies whether a dependency object should be serialized. Inherited from Animatable.
    See Also