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
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:
EmptyStateText- Specifies the empty area message.- SetEmptyMessageAreaTemplate - Specifies a template (RenderFragment) that customizes the empty area.
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:
The following screenshot demonstrates the result:

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