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
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