-
-
Notifications
You must be signed in to change notification settings - Fork 885
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The MouseOverBackground is referenced here
<Setter Property="MouseOverButtonsForeground" Value="{Binding Path=MouseOverButtonsForeground, RelativeSource={RelativeSource AncestorType={x:Type controls:TitleBar}}}" /> |
But I find nowhere at latter TitleBar style setting
To Reproduce
Load the gallery project and run the gallery application. We will see multiple (4 in my case) bind failures.
Expected behavior
No bind failures
Screenshots
No response
OS version
Win 10 19045.4170
.NET version
Same as repo
WPF-UI NuGet version
Same as repo
Additional context
Temporary Workaround for user:
<ui:TitleBar>
<ui:TitleBar.Resources>
<Style TargetType="ui:TitleBarButton" BasedOn="{StaticResource {x:Type ui:TitleBarButton}}">
<Setter Property="MouseOverButtonsForeground" Value="Black" />
</Style>
</ui:TitleBar.Resources>
</ui:TitleBar>
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working