Skip to content

Icon color not changing on theme change #1029

@Tide

Description

@Tide

I am using a circle button like so:

                    <Button 
                            Width="50"
                            Height="50"
                            Margin="0"
                            Style="{DynamicResource MetroCircleButtonStyle}">
                        <Rectangle Width="20" Height="20">
                            <Rectangle.Fill>
                                <VisualBrush Stretch="Fill" Visual="{StaticResource appbar_arrow_right}" />
                            </Rectangle.Fill>
                        </Rectangle>
                    </Button>

When I change the theme everything is updating but the arrow icon. If I start with the dark theme the arrow will stay white then switching to the light theme and vice versa.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions