SmartPasteBehavior.ProcessClipboardImage Property
Gets or sets whether to analyze images copied to the clipboard.
Namespace: DevExpress.AIIntegration.Wpf
Assembly: DevExpress.AIIntegration.Wpf.v25.2.dll
NuGet Package: DevExpress.AIIntegration.Wpf
Declaration
Property Value
| Type | Description |
|---|---|
| DefaultBoolean |
|
Available values:
| Name | Description | Return Value |
|---|---|---|
| True | The value is true. |
|
| False | The value is false. |
|
| Default | The value is specified by a global option or a higher-level object. |
|
Remarks
If the ProcessClipboardImage property is set to DefaultBoolean.True, SmartPaste checks whether the clipboard contains an image and attempts to extract structured data from it using AI.
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
xmlns:dxai="http://schemas.devexpress.com/winfx/2008/xaml/ai"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
<dxg:GridControl x:Name="gridControl" ItemsSource="{Binding Items}">
<dxg:GridControl.View>
<dxg:TableView PasteMode="Update"/>
</dxg:GridControl.View>
<dxmvvm:Interaction.Behaviors>
<dxai:SmartPasteBehavior
x:Name="smartPasteBehavior"
ProcessClipboardImage="True"/>
</dxmvvm:Interaction.Behaviors>
<dxg:GridColumn FieldName="OrderID"
dxai:SmartPasteBehavior.ExcludeItem="True"/>
<dxg:GridColumn FieldName="OrderDate"
dxai:SmartPasteBehavior.ItemDescription="The date when an order was placed."/>
<dxg:GridColumn FieldName="ShippingDate"
dxai:SmartPasteBehavior.ItemDescription="The date when an order is scheduled to be shipped."/>
<dxg:GridColumn FieldName="Shipped"
dxai:SmartPasteBehavior.ItemDescription="Indicates whether an order has been shipped. If 1 use True. If -1 use False."/>
</dxg:GridControl>
See Also