Skip to content

3.5.1版本输入error信息文本颜色变为了黑色,应该是红色 #1641

@cc-7fan

Description

@cc-7fan

Describe the bug

这是3.5.1版本的异常错误提示效果:
image
这是老版本3.4.0的正常效果:
image

Steps to reproduce the bug

<hc:TextBox Grid.Row="0" Style="{StaticResource TextBoxExtend}" Text="{Binding ActionName, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True, NotifyOnValidationError=True}" IsEnabled="{Binding IsCanWrite}" hc:InfoElement.Symbol="*" hc:TitleElement.TitleWidth="100" hc:InfoElement.TitlePlacement="Left" hc:InfoElement.Title="Name" hc:InfoElement.Necessary="True" Width="500" VerticalAlignment="Center"/>

这是一个TextBox,定义如上,默认其错误提示文字应该是红色,实际如图是黑色

Expected behavior

No response

Screenshots

No response

NuGet package version

None

IDE

Visual Studio 2022

Framework type

.Net Framework 4.7.1

Windows version

May 2021 Update (19043)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    historyThis problem was solved in the past

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions