skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Resources Hub
    • .NET MAUI Tutorials and Learning
    • First Steps
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Migrate to .NET MAUI
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class 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.

Inheritance
System.Object
RadContentView
RadCompositeContentView
RadBorderContentView
AIPromptView
AIPromptInputView
Inherited Members
AIPromptView.ControlTemplateProperty
AIPromptView.HeaderTextProperty
AIPromptView.HeaderImageSourceProperty
AIPromptView.ControlTemplate
AIPromptView.HeaderText
AIPromptView.HeaderImageSource
RadBorderContentView.BackgroundColorProperty
RadBorderContentView.BackgroundProperty
RadBorderContentView.BorderColorProperty
RadBorderContentView.BorderBrushProperty
RadBorderContentView.BorderThicknessProperty
RadBorderContentView.CornerRadiusProperty
RadBorderContentView.ContentPaddingProperty
RadBorderContentView.BackgroundColor
RadBorderContentView.Background
RadBorderContentView.BorderColor
RadBorderContentView.BorderBrush
RadBorderContentView.BorderThickness
RadBorderContentView.CornerRadius
RadBorderContentView.ContentPadding
RadCompositeContentView.StyleProperty
RadCompositeContentView.OnApplyTemplate()
RadCompositeContentView.OnBindingContextChanged()
RadCompositeContentView.OnPropertyChanged(String)
RadCompositeContentView.Style
RadContentView.ActualStyleClassProperty
RadContentView.OnChildAdded(Element)
RadContentView.OnChildRemoved(Element, Int32)
RadContentView.OnHandlerChanged()
RadContentView.ActualStyleClass
Namespace: Telerik.Maui.Controls.AIPrompt
Assembly: Telerik.Maui.Controls.dll

Syntax

public class AIPromptInputView : AIPromptView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Constructors

AIPromptInputView()

Initializes a new instance of the class.

Declaration
public AIPromptInputView()

Fields

ActualInputButtonStyleProperty

Identifies the ActualInputButtonStyle property.

Declaration
public static readonly BindableProperty ActualInputButtonStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ActualInputEditorStyleProperty

Identifies the ActualInputEditorStyle property.

Declaration
public static readonly BindableProperty ActualInputEditorStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ActualPromptRequestCommandProperty

Identifies the ActualPromptRequestCommand property.

Declaration
public static readonly BindableProperty ActualPromptRequestCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ActualSuggestionsExpanderStyleProperty

Identifies the ActualSuggestionsExpanderStyle property.

Declaration
public static readonly BindableProperty ActualSuggestionsExpanderStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ActualSuggestionStyleProperty

Identifies the ActualSuggestionTappedCommand property.

Declaration
public static readonly BindableProperty ActualSuggestionStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ActualSuggestionTappedCommandProperty

Identifies the ActualSuggestionTappedCommand property.

Declaration
public static readonly BindableProperty ActualSuggestionTappedCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

InputButtonStyleProperty

Identifies the InputButtonStyle property.

Declaration
public static readonly BindableProperty InputButtonStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

InputButtonTextProperty

Identifies the InputButtonText property.

Declaration
public static readonly BindableProperty InputButtonTextProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

InputEditorStyleProperty

Identifies the InputEditorStyle property.

Declaration
public static readonly BindableProperty InputEditorStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

InputTextProperty

Identifies the InputText property.

Declaration
public static readonly BindableProperty InputTextProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

PromptRequestCommandProperty

Identifies the PromptRequestCommand property.

Declaration
public static readonly BindableProperty PromptRequestCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

SuggestionsExpanderStyleProperty

Identifies the SuggestionsExpanderStyle property.

Declaration
public static readonly BindableProperty SuggestionsExpanderStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

SuggestionsHeaderTextProperty

Identifies the SuggestionsHeaderText property.

Declaration
public static readonly BindableProperty SuggestionsHeaderTextProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

SuggestionsProperty

Identifies the Suggestions property.

Declaration
public static readonly BindableProperty SuggestionsProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

SuggestionStyleProperty

Identifies the SuggestionStyle property.

Declaration
public static readonly BindableProperty SuggestionStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

Properties

ActualInputButtonStyle

Gets or sets the actual style that will be applied to the input button. This is a merger of the custom InputButtonStyle and the default style.

Declaration
public Style ActualInputButtonStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

ActualInputEditorStyle

Gets or sets the actual style that will be applied to the input editor. This is a merger of the custom InputEditorStyle and the default style.

Declaration
public Style ActualInputEditorStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

ActualPromptRequestCommand

Gets the actual command that is executed when the end-user makes a request. The default behavior of this command is to execute the PromptRequestCommand and raise the PromptRequest event.

Declaration
public ICommand ActualPromptRequestCommand { get; }
Property Value
System.Windows.Input.ICommand

ActualSuggestionsExpanderStyle

Gets or sets the actual style that will be applied to the suggestions expander. This is a merger of the custom SuggestionsExpanderStyle and the default style.

Declaration
public Style ActualSuggestionsExpanderStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

ActualSuggestionStyle

Gets or sets the actual style that will be applied to the suggestions. This is a merger of the custom SuggestionStyle and the default style.

Declaration
public Style ActualSuggestionStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

ActualSuggestionTappedCommand

Gets the actual command that is executed when an AIPrompt suggestion is tapped. The default behavior of this command is to set the InputText to the text of the suggestion.

Declaration
public ICommand ActualSuggestionTappedCommand { get; }
Property Value
System.Windows.Input.ICommand

InputButtonStyle

Gets or sets the style that is to be applied to the input button.

Declaration
public Style InputButtonStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

InputButtonText

Gets or sets the text of the input button.

Declaration
public string InputButtonText { get; set; }
Property Value
System.String

InputEditorStyle

Gets or sets the style that is to be applied to the input editor.

Declaration
public Style InputEditorStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

InputText

Gets or sets the input text.

Declaration
public string InputText { get; set; }
Property Value
System.String

PromptRequestCommand

Gets or sets the command that is executed when the end-user makes a request by pressing the input button or a command.

Declaration
public ICommand PromptRequestCommand { get; set; }
Property Value
System.Windows.Input.ICommand

Suggestions

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.

Declaration
public IEnumerable Suggestions { get; set; }
Property Value
System.Collections.IEnumerable

SuggestionsExpanderStyle

Gets or sets the style that is to be applied to the RadExpander that contains the suggestions.

Declaration
public Style SuggestionsExpanderStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

SuggestionsHeaderText

Gets or sets the text of the suggestions header.

Declaration
public string SuggestionsHeaderText { get; set; }
Property Value
System.String

SuggestionStyle

Gets or sets the style that is to be applied to the suggestions.

Declaration
public Style SuggestionStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

Events

PromptRequest

Occurs when the end-user makes a request by pressing the input button or a command.

Declaration
public event EventHandler PromptRequest
Event Type
System.EventHandler

Extension Methods

AndroidTypeConversionExtensions.ToJavaObject(Object)
Sample Applications
  • Controls Samples App
  • Crypto Tracker App
Support Resources
  • .NET MAUI SDKBrowser App
Community
  • Forums
  • Blogs
  • Feedback Portal
  • YouTube Channel

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.