Back to Devexpress

DxAIChat.ShowHeader Property

blazor-devexpress-dot-aiintegration-dot-blazor-dot-chat-dot-dxaichat-a6602343.md

latest1.7 KB
Original Source

DxAIChat.ShowHeader Property

Specifies whether the AI Chat displays the header.

Namespace : DevExpress.AIIntegration.Blazor.Chat

Assembly : DevExpress.AIIntegration.Blazor.Chat.v25.2.dll

NuGet Package : DevExpress.AIIntegration.Blazor.Chat

Declaration

csharp
[Parameter]
public bool ShowHeader { get; set; }

Property Value

TypeDescription
Boolean

true to display the header; otherwise, false.

|

Remarks

Set ShowHeader to true to display the header above the AI Chat component. The header contains the title text and Clear Chat button.

razor
<DxAIChat ShowHeader="true" />

Clear Chat Button

The Clear Chat button removes all messages from the conversation history, except for system messages. This action cannot be undone.

The Clear Chat button is a part of the header. If you set ShowHeader to false, the button is not displayed.

See Also

DxAIChat Class

DxAIChat Members

DevExpress.AIIntegration.Blazor.Chat Namespace