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

    SmartPaste analyzes the content you copy and intelligently assigns the right values to the appropriate layout items or grid/treelist cells.

    Constructors

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

    Fields

    Name Description
    ExcludeItemProperty static Identifies the ExcludeItem attached property.
    ItemDescriptionProperty static Identifies the ItemDescription attached property.
    ProcessClipboardImageProperty static Identifies the ProcessClipboardImage dependency property.
    PromptAugmentationProperty static Identifies the PromptAugmentation dependency property.
    SmartPasteCommandProperty static Identifies the SmartPasteCommand dependency property.
    TemperatureProperty static Identifies the Temperature dependency property.

    Properties

    Name Description
    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.
    ProcessClipboardImage Gets or sets whether to analyze images copied to the clipboard.
    PromptAugmentation Gets or sets additional instructions that modify the prompt before processing.
    SmartPasteCommand Executes SmartPaste.
    Temperature Gets or sets the balance between creativity and consistency in AI responses.

    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.
    GetExcludeItem(DependencyObject) static Gets the value of the SmartPasteBehavior.ExcludeItem attached property for the specified SmartPasteBehavior.
    GetItemDescription(DependencyObject) static Gets the value of the SmartPasteBehavior.ItemDescription attached property for the specified SmartPasteBehavior.
    SetExcludeItem(DependencyObject, Boolean) static Sets the value of the SmartPasteBehavior.ExcludeItem attached property to the specified SmartPasteBehavior. Use this method to exclude an item (for example, a grid column or layout item) from SmartPaste in code behind.
    SetItemDescription(DependencyObject, String) static Sets the value of the SmartPasteBehavior.ItemDescription attached property to the specified SmartPasteBehavior.
    ShouldSerializeStoredWeakReference(DependencyObject) static Specifies whether a dependency object should be serialized. Inherited from Animatable.
    SmartPasteAsync(Byte[], String, CancellationToken) Assigns the correct values from the specified string or binary content to the appropriate items.
    SmartPasteAsync(String, CancellationToken) Executes SmartPaste and assigns the right values from the specified string to the appropriate items.
    SmartPasteAsync(CancellationToken) Executes SmartPaste and assigns the right values (from the clipboard) to the appropriate items.

    Attached Properties

    Name Description
    ExcludeItem static Gets or sets whether to exclude an item (for example, a grid column or layout item) from SmartPaste. This is an attached property.
    ItemDescription static Specifies a string that describes the expected content and/or data format for the item. This is an attached property.
    See Also