New to Telerik UI for .NET MAUIStart a free 30-day trial

AIPrompt Button

Updated on Jun 25, 2026

The AIPrompt component can also be displayed as a button that will show a popup with an AIPrompt when interacted with.

To display the component as a button, create a new RadAIPromptButton instance and add the AIPrompt component inside it.

The RadAIPromptButton inherits from RadTemplatedButton and provides the following additional properties:

  • AIPrompt (RadAIPrompt)—Defines the corresponding RadAIPrompt control.
  • Popup (RadPopup)—Defines the corresponding RadPopup control.
  • PopupContentViewStyle (Style with target type AIPromptPopupContentView)—Defines the style applied to the popup content view which presents the AIPrompt.

Here is an example on how you can define an AIPrompt Button:

XAML
<telerik:RadAIPromptButton FontFamily="TelerikFontExamples"
                           Content="&#xe85e;"
                           HorizontalOptions="End"
                           VerticalOptions="End">
    <telerik:RadAIPrompt InputText="{Binding InputText}"
                         PromptRequestCommand="{Binding PromptRequestCommand}"
                         OutputItems="{Binding OutputItems}" />
</telerik:RadAIPromptButton>

See Also

In this article
See Also
Not finding the help you need?
Contact Support