Open MatinxHT opened 2 months ago
Maybe the same problom can reproduce in WPF UI Gallery
First click WPF UI Gallery Settings
Then change navigation style from left compact
to fluent
We will see that title show in wrong place .bu due to AutoSuggestBox
the NavigationMeunItem
seens get a right vertical coordinates
remove TitleBar="{Binding ElementName=TitleBar, Mode=OneWay}"
remove TitleBar="{Binding ElementName=TitleBar, Mode=OneWay}"
It doesn't work and even worse (〒︿〒)
TitleBar
make NavigationView
beauty
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<ui:TitleBar Grid.Row="0" />
<ui:NavigationView Grid.Row="1"/>
</Grid>
<Grid> <Grid.RowDefinitions> <RowDefinition Height="auto"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <ui:TitleBar Grid.Row="0" /> <ui:NavigationView Grid.Row="1"/> </Grid>
Oh that's a nice trick,thanks
But the BcakButton
still cant show up automaticlly ,so I still need to chang its property.
Could you please reopen this issue? I think this bug should be fixed. Thanks!
Could you please reopen this issue? I think this bug should be fixed. Thanks!
Yap..As a perfectionist, I think this is a bug that can be fixed in the UI framework.
Describe the bug
when I design a new applicaton in LeftFluent PaneDisplayMode ,I found title bar 's icon & title show in wrong way.
But then I thinks MenuItems the bad guys.And then in Debug Mode,I set my NavigationView's Xaml property in
then The UI show Great!
So I keep coding ... However ,the next time I start my application in Debug mode the BackButton dont show! I have too manul set xaml code to bring it back.Seems not about the property of
IsBackButtonVisible
what I set because I tryAuto
/Visible
no one can automatically show BackButton when app start.Only one way is manually change the property ofIsBackButtonVisible
And finally my way to solve this probelm by manul set property in C# code to show the BackButton
To Reproduce
My NavigationView Xaml Code as follow:
And my C# Window Code
Expected behavior
Fix the BackButton Auto Show in LeftFluent
Screenshots
No response
OS version
Windows 11
.NET version
.Net 8
WPF-UI NuGet version
3.0.5
Additional context
No response