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

    Gets or sets the foreground brush (text color) 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

    public Brush UserMessageForeground { get; set; }

    Property Value

    Type Description
    Brush

    A Brush that paints the text of user messages.

    Remarks

    Use the UserMessageForeground property to specify the foreground color (text color) for user messages.

    Example

    The following example sets the text color of user messages:

    <dxaichat:AIChatControl x:Name="aiChatControl"
                            UserMessageForeground="DarkRed">
    </dxaichat:AIChatControl>
    

    User and Assistant Message Foreground - WPF AIChatControl, DevExpress

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

    See Also