SmartPasteBehavior.SmartPasteCommand Property
Executes SmartPaste.
Namespace: DevExpress.AIIntegration.Wpf
Assembly: DevExpress.AIIntegration.Wpf.v25.1.dll
NuGet Package: DevExpress.AIIntegration.Wpf
Declaration
Property Value
| Type | Description |
|---|---|
| ICommand | The command. |
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