Skip to main content
All docs
V26.1
  • AIChatControl.SetPromptSuggestionContentTemplate(RenderFragment<IPromptSuggestion>) Method

    Specifies the template used to display prompt suggestion content.

    Namespace: DevExpress.AIIntegration.WinForms.Chat

    Assembly: DevExpress.AIIntegration.WinForms.Chat.v26.1.dll

    NuGet Package: DevExpress.AIIntegration.WinForms.Chat

    Declaration

    public void SetPromptSuggestionContentTemplate(
        RenderFragment<IPromptSuggestion> template
    )

    Parameters

    Name Type Description
    template RenderFragment<IPromptSuggestion>

    The prompt suggestion content template.

    Remarks

    Call the SetPromptSuggestionContentTemplate method to display any render fragment in a prompt suggestion (hint bubble). This template does not affect default bubble rendering, such as paddings or inner content alignment.

    Run Demo: AI Chat – Prompt Suggestions View Example: AI Chat

    Refer to the following help topic for additional information: AI Chat Control

    See Also