Skip to content

Button with custom content wrong foreground on IsEnabled=false #1672

@dkuaf

Description

@dkuaf

Describe the bug

Foreground color on child components has wrong color for IsEnabled=false

To Reproduce

<ui:Button IsEnabled="false">
<ui:SymbolIcon Symbol="Bug20"/>
</ui:Button>

Expected behavior

Correct disabled color "ButtonForegroundDisabled"

Screenshots

No response

OS version

Windows 11

.NET version

.net 8

WPF-UI NuGet version

4.2.0

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions