Skip to content

Pane is not closed by default when using IsPaneOpen="False" #741

@vikofun

Description

@vikofun

Describe the bug

Setting IsPaneOpen to False for the NavigationView of MainWindow.xaml in project Wpf.Ui.Demo.Mvvm does not work.

To Reproduce

<ui:NavigationView x:Name="RootNavigation" Grid.Row="1" IsPaneOpen="False" FooterMenuItemsSource="{Binding ViewModel.NavigationFooter, Mode=OneWay}" MenuItemsSource="{Binding ViewModel.NavigationItems, Mode=OneWay}">

Expected behavior

After setting FALSE to start, it should be in a closed state

Screenshots

微信截图_20230827121740
微信截图_20230827121812

OS version

last

.NET version

last

WPF-UI NuGet version

last

Additional context

No response

Metadata

Metadata

Assignees

Labels

animationsTopic is related to animationsbugSomething isn't workinglocked-due-to-inactivitynavigationChanges to navigation related controls.stylesTopic is related to styles

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions