Defines the fluent API for configuring SmartPasteButtonFormField
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SmartPasteButtonFormFieldBuilder
Inheritance: objectSmartPasteButtonFormFieldBuilder
Inherited Members
Constructors
Initializes a new instance of the SmartPasteButtonFormField class.
public SmartPasteButtonFormFieldBuilder(SmartPasteButtonFormField container)
Properties
Alias for the SmartPasteButtonFormField instance.
protected SmartPasteButtonFormField Container { get; }
Methods
An array of allowed values that restricts the AI service to only use specific values for this field.
public SmartPasteButtonFormFieldBuilder AllowedValues(params string[] value)
The value for AllowedValues
Returns:SmartPasteButtonFormFieldBuilder
Returns the current SmartPasteButtonFormFieldBuilder instance.
A description of the form field that helps the AI service understand its purpose.
public SmartPasteButtonFormFieldBuilder Description(string value)
The value for Description
Returns:SmartPasteButtonFormFieldBuilder
Returns the current SmartPasteButtonFormFieldBuilder instance.
The name of the form field that corresponds to a form element.
public SmartPasteButtonFormFieldBuilder Field(string value)
The value for Field
Returns:SmartPasteButtonFormFieldBuilder
Returns the current SmartPasteButtonFormFieldBuilder instance.
The expected data type of the form field.
public SmartPasteButtonFormFieldBuilder Type(string value)
The value for Type
Returns:SmartPasteButtonFormFieldBuilder
Returns the current SmartPasteButtonFormFieldBuilder instance.