AIChatControl.UserMessageBackground Property
Gets or sets the background brush for user messages. This is a dependency property.
Namespace: DevExpress.AIIntegration.Wpf.Chat
Assembly: DevExpress.AIIntegration.Wpf.Chat.v26.1.dll
NuGet Package: DevExpress.AIIntegration.Wpf.Chat
Declaration
Property Value
| Type | Description |
|---|---|
| Brush | A |
Remarks
Use the following properties to specify the background color for user and assistant messages:
UserMessageBackground– specifies the background color for user messages.- AssistantMessageBackground – specifies the background color for assistant messages.
Example
The following example sets the background color of user messages:
<dxaichat:AIChatControl x:Name="aiChatControl"
UserMessageBackground="#FF7AB8FF"
AssistantMessageBackground="#FFB8E6C1">
</dxaichat:AIChatControl>

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