ClassSmartPasteButtonField
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
SmartPasteButtonField()
Declaration
public SmartPasteButtonField()
Properties
AllowedValues
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).
Description
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.
Field
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).
FieldType
Type
Gets or sets the full CLR type name of the field
(e.g. "System.String", "System.DateTime", "System.Double").
This is used to deserialize the AI response into the correct .NET type
before the value is assigned to the field.