Describes a single field that can receive a value during AI-powered smart paste. Instances are returned by GetFields() and provide the metadata the AI service needs to extract, validate, and deserialize clipboard content into the correct field.
Definition
Namespace:Telerik.Maui.Controls.SmartPasteButton
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class SmartPasteButtonField
Inheritance: objectSmartPasteButtonField
Constructors
public SmartPasteButtonField()
Properties
Gets or sets the collection of valid values the field can accept.
When set, the AI service is constrained to return only one of these values
(e.g. ["Active", "Inactive"] for a status enum).
public string[] AllowedValues { get; set; }
Gets or sets a human-readable label that describes the field
(e.g. "First Name", "Email Address").
The AI service uses this description as context when matching clipboard
content to the appropriate field.
public string Description { get; set; }
Gets or sets the unique identifier of the field, typically the property name
in the underlying data model (e.g. "FirstName", "Email").
This value is used to map extracted results back to the originating field
via SetFieldValue(string, object).
public string Field { get; set; }