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>
Describe the bug
The MouseOverBackground is referenced here
wpfui/src/Wpf.Ui/Controls/TitleBar/TitleBar.xaml
Line 18 in f59daa0
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: