InterfaceISmartPasteButtonProvider
Defines the contract for a container (such as a form or data grid) that participates in AI-powered smart paste operations initiated by RadSmartPasteButton. Implementors supply metadata about their editable fields and accept values extracted from clipboard content.
Definition
Namespace:Telerik.Maui.Controls.SmartPasteButton
Assembly:Telerik.Maui.Controls.dll
Syntax:
public interface ISmartPasteButtonProvider
Derived Classes:
Methods
GetFields()
Returns the collection of SmartPasteButtonField instances that describe the editable fields available for smart paste. Each field carries the metadata the AI service needs to extract and deserialize the correct value from the clipboard.
Declaration
IEnumerable<SmartPasteButtonField> GetFields()
Returns
IEnumerable<SmartPasteButtonField>
An enumerable of SmartPasteButtonField objects representing the provider's fields.
SetFieldValue(string, object)
Assigns an extracted value to the field identified by field.
Called by RadSmartPasteButton after the AI service
has processed the clipboard content and produced a typed result for each field.