New to Telerik UI for WinFormsStart a free 30-day trial

Properties, Methods and Events for RadAIPrompt

Updated over 6 months ago

RadAIPromptElement's Properties

PropertyDescription
ItemsGets the items that represent the different views of the AI Prompt control.
OutputItemsGets the output items (the responses from the AI).
ActiveItemGets or sets the currently active item.
ToolbarPositionGets or sets the position of the toolbar.
InputTextGets or sets the input text.
ViewContainerGets the container wrapping the control.

RadAIPromptElement's Events

EventDescription
PromptRequestOccurs when the user initiates a prompt request.
OutputItemActionOccurs when the user initiates an interaction with the output visual item.
OutputVisualItemCreatedOccurs when a new item is added to the OutputItems and a new visual item is about to be added to the AIPromptOutputView. The event is suitable to modify or replace the visual item.

RadAIPromptButton's Properties

PropertyDescription
AIPromptGets or sets the RadAIPrompt instance that will be the child of the Form
PopupWidthGets or sets a double value for the Width of the PopupWindow hosting the RadAIPrompt.
PopupHeightGets or sets a double value for Height of the PopupWindow hosting the RadAIPrompt.
IsPopupOpenGets or sets a boolean value indicating whether the Form hosting the RadAIPrompt is open.
PopupShowAnimationGets or sets the animation played when opening the popup.
PopupHideAnimationGets or sets the animation played when hiding the popup.

AIPromptOutputItem's Properties

PropertyDescription
TitleGets or sets the title of the output response item.
InputTextGets or sets the input text (the end-user's request) that was sent to the AI model.
ResponseTextGets or sets the text response from the AI model.
RatingGets or sets the end-user rating for this response.
TagGets or sets an object associated with this item. The developer can use this property to store information related to a specific response.