AIPromptInputView
A view that displays the input area of a RadAIPrompt. Contains things like the input editor, the button that makes a request to the AI model, and a list of pre-defined suggestions.
Definition
Namespace:Telerik.Maui.Controls.AIPrompt
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class AIPromptInputView : AIPromptView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewAIPromptViewAIPromptInputView...
Implements:
Inherited Members
Constructors
Initializes a new instance of the class.
public AIPromptInputView()
Fields
InputButtonStyleProperty
BindableProperty
Identifies the InputButtonStyle property.
public static readonly BindableProperty InputButtonStyleProperty
InputButtonTextProperty
BindableProperty
Identifies the InputButtonText property.
public static readonly BindableProperty InputButtonTextProperty
InputEditorStyleProperty
BindableProperty
Identifies the InputEditorStyle property.
public static readonly BindableProperty InputEditorStyleProperty
InputTextProperty
BindableProperty
Identifies the InputText property.
public static readonly BindableProperty InputTextProperty
PromptRequestCommandProperty
BindableProperty
Identifies the PromptRequestCommand property.
public static readonly BindableProperty PromptRequestCommandProperty
SuggestionsExpanderStyleProperty
BindableProperty
Identifies the SuggestionsExpanderStyle property.
public static readonly BindableProperty SuggestionsExpanderStyleProperty
SuggestionsHeaderTextProperty
BindableProperty
Identifies the SuggestionsHeaderText property.
public static readonly BindableProperty SuggestionsHeaderTextProperty
SuggestionsProperty
BindableProperty
Identifies the Suggestions property.
public static readonly BindableProperty SuggestionsProperty
SuggestionStyleProperty
BindableProperty
Identifies the SuggestionStyle property.
public static readonly BindableProperty SuggestionStyleProperty
Properties
InputButtonStyle
Style
Gets or sets the style that is to be applied to the input button.
public Style InputButtonStyle { get; set; }
Gets or sets the text of the input button.
public string InputButtonText { get; set; }
InputEditorStyle
Style
Gets or sets the style that is to be applied to the input editor.
public Style InputEditorStyle { get; set; }
Gets or sets the suggestions. The items of this collection can be simple string objects. In case more control over the UI is needed, the items in this collection can be objects from a custom class and the SuggestionStyle property can be used to set the ControlTemplate.
public IEnumerable Suggestions { get; set; }
Gets or sets the style that is to be applied to the RadExpander that contains the suggestions.
public Style SuggestionsExpanderStyle { get; set; }
Gets or sets the text of the suggestions header.
public string SuggestionsHeaderText { get; set; }
SuggestionStyle
Style
Gets or sets the style that is to be applied to the suggestions.
public Style SuggestionStyle { get; set; }
Events
Occurs when the end-user makes a request by pressing the input button or a command.
public event EventHandler PromptRequest