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

    Gets or sets the text string displayed in the message area before the conversation starts.

    Namespace: DevExpress.AIIntegration.WinForms.Chat

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

    NuGet Package: DevExpress.AIIntegration.WinForms.Chat

    Declaration

    [DefaultValue(null)]
    public string EmptyStateText { get; set; }

    Property Value

    Type Default Description
    String null

    The empty state text.

    Remarks

    You can modify the text or template displayed in the message area before a chat starts.

    Use one of the following members:

    Note

    If you specify both the EmptyStateText property and the SetEmptyMessageAreaTemplate template, the chat control uses the template and ignores the EmptyStateText property.

    Example

    The following example specifies the message displayed before the conversation starts:

    aiChatControl1.EmptyStateText = "AI Assistant is ready to answer your questions.";
    

    The following screenshot demonstrates the result:

    Custom Empty State Text - WinForms AI Chat Control, DevExpress

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

    See Also