Skip to content

ToolBar Overflow Button background #3694

Open
@WarpSpeed99

Description

@WarpSpeed99

Hello everybody, this is my first feature request so please be kind if I am writing something stupid.

I have noticed that in using the ToolBar, if I change the background the overflow button background does not change because in the style definition, the background property (for both vertical and horiziontal overflow buttons) is defined as

<Setter Property="Background" Value="{DynamicResource MaterialDesign.Brush.ToolBar.Background}" />

A workaround to this is to define this property as

<Setter Property="Background" Value="{Binding Background, RelativeSource={RelativeSource AncestorType=ToolBar}}" />

In this way, any background colo I will set to the toolbar (or if I do not explicitly set one) the overflow button background will be "consistent" with the rest of the toolbar.

I hope that what I am requested is not stupid (and in this case I apologize).

thanks in advance for Your attention
Kind Regards
Fabio

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions