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

    Enables AI tools defined in the specified type for a WPF control.

    Constructors

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

    Fields

    Name Description
    ExtensionsContainerProperty static Identifies the ExtensionsContainer dependency property.
    TargetDescriptionProperty static Identifies the TargetDescription dependency property.
    ToolTypeProperty static Identifies the ToolType dependency property.

    Properties

    Name Description
    Context Gets the tool context managed by the behavior.
    ExtensionsContainer Gets or sets a container in which the behavior registers its context.
    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.
    TargetDescription Gets or sets a human-readable explanation for the control (the target) to which the behavior is attached.
    ToolType Gets or sets the type that defines tool methods (annotated with the AIIntegrationTool attribute) to expose to the AI model.

    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