Skip to main content
All docs
V26.1
  • AIChatControl.ShowHeader Property

    Gets or sets whether the AI Chat displays the header.

    Namespace: DevExpress.AIIntegration.WinForms.Chat

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

    NuGet Package: DevExpress.AIIntegration.WinForms.Chat

    Declaration

    [DefaultValue(DefaultBoolean.Default)]
    public DefaultBoolean ShowHeader { get; set; }

    Property Value

    Type Default Description
    DefaultBoolean Default

    DefaultBoolean.True to display the header; otherwise, DefaultBoolean.False.

    Available values:

    Name Description Return Value
    True

    The value is true.

    0

    False

    The value is false.

    1

    Default

    The value is specified by a global option or a higher-level object.

    2

    Remarks

    The AIChatControl can display a header. This header contains a customizable chat title and the Clear Chat button (removes all messages from conversation history, except for system messages).

    Title and Clear Chat Button - WinForms AI Chat Control, DevExpress

    Use the ShowHeader option to display the chat header. The HeaderText property specifies the chat title.

    Example

    The following example displays the chat header and sets the title to “AI Assistant”:

    aiChatControl1.ShowHeader = DevExpress.Utils.DefaultBoolean.True;
    aiChatControl1.HeaderText = "AI Assistant";
    

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

    See Also