Skip to main content
All docs
V25.1
  • SmartPasteBehavior.SmartPasteCommandProperty Field

    Identifies the SmartPasteCommand dependency property.

    Namespace: DevExpress.AIIntegration.Wpf

    Assembly: DevExpress.AIIntegration.Wpf.v25.1.dll

    NuGet Package: DevExpress.AIIntegration.Wpf

    Declaration

    public static readonly DependencyProperty SmartPasteCommandProperty

    Field Value

    Type Description
    DependencyProperty

    A dependency property identifier.

    Remarks

    The following code snippet invokes SmartPaste when a user presses Ctrl+P:

    <dxmvvm:Interaction.Behaviors>
        <dxai:SmartPasteBehavior x:Name="smartPasteBehavior"/>
        <dxmvvm:KeyToCommand KeyGesture="CTRL+P" Command="{Binding SmartPasteCommand, ElementName=smartPasteBehavior}"/>
    </dxmvvm:Interaction.Behaviors>
    

    Refer to the following help topic for additional information and examples: Smart Paste.

    See Also