SmartPasteBehavior.SmartPasteAsync(String, CancellationToken) Method
Executes SmartPaste and assigns the right values from the specified string to the appropriate items.
Namespace: DevExpress.AIIntegration.Wpf
Assembly: DevExpress.AIIntegration.Wpf.v25.1.dll
NuGet Package: DevExpress.AIIntegration.Wpf
Declaration
public Task SmartPasteAsync(
string inputText,
CancellationToken token = default(CancellationToken)
)
Parameters
| Name | Type | Description |
|---|---|---|
| inputText | String | The source string. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| token | CancellationToken | null | The cancellation token that allows the operation to be canceled if needed. |
Returns
| Type | Description |
|---|---|
| Task | The task. |
Remarks
Refer to the following help topic for additional information and examples: Smart Paste.
See Also