diff --git a/demo/Ursa.Demo/Pages/NavigationMenuDemo.axaml b/demo/Ursa.Demo/Pages/NavigationMenuDemo.axaml index 126b08f..dad4c0b 100644 --- a/demo/Ursa.Demo/Pages/NavigationMenuDemo.axaml +++ b/demo/Ursa.Demo/Pages/NavigationMenuDemo.axaml @@ -24,9 +24,14 @@ + + + - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Ursa.Themes.Semi/Controls/Navigation.axaml b/src/Ursa.Themes.Semi/Controls/Navigation.axaml index 329fabb..b0950d3 100644 --- a/src/Ursa.Themes.Semi/Controls/Navigation.axaml +++ b/src/Ursa.Themes.Semi/Controls/Navigation.axaml @@ -30,20 +30,19 @@ Background="{TemplateBinding Background}" RowDefinitions="Auto, *, Auto, Auto"> + ContentTemplate="{TemplateBinding HeaderTemplate}" /> @@ -52,13 +51,29 @@ Grid.Row="2" Content="{TemplateBinding Footer}" ContentTemplate="{TemplateBinding FooterTemplate}" /> - + IsVisible="{TemplateBinding ShowCollapseButton}" + Theme="{DynamicResource ButtonToggleSwitch}"> + + + + + + + @@ -68,7 +83,7 @@ + + + - - - + +