Back to Devexpress

TdxCustomLayoutGroup.SmartPaste(string) Method

vcl-dxlayoutcontainer-dot-tdxcustomlayoutgroup-dot-smartpaste-x28-system-dot-string-x29.md

latest2.1 KB
Original Source

TdxCustomLayoutGroup.SmartPaste(string) Method

Inserts the specified string or current clipboard content into nested editors using the AI-powered Smart Paste functionality.

Declaration

delphi
procedure SmartPaste(const AInputText: string = '');

Parameters

NameTypeDescription
AInputTextstring

Optional. The source string.

If you omit the AInputText parameter, the procedure uses clipboard content as the source string.

|

Remarks

A Smart Paste command analyzes clipboard content and intelligently assigns correct values (in required formats) to appropriate layout items/embedded editors.

Call the SmartPaste procedure to execute a Smart Paste command for nested layout items (associated with editors). The active AI provider service relies on layout item descriptions (in a natural language) to determine appropriate paste targets and required data formats.

To execute a Smart Paste command at the global level, call the parent Layout control’s SmartPaste procedure.

See Also

AI-powered Extensions for VCL

TcxCustomGridTableView.SmartPaste Procedure

TdxCustomLayoutGroup Class

TdxCustomLayoutGroup Members

dxLayoutContainer Unit