diff --git a/src/MainDemo.Wpf/MenusAndToolBars.xaml b/src/MainDemo.Wpf/MenusAndToolBars.xaml index ae61fd818e..acd222f9e0 100644 --- a/src/MainDemo.Wpf/MenusAndToolBars.xaml +++ b/src/MainDemo.Wpf/MenusAndToolBars.xaml @@ -1,4 +1,4 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -345,6 +398,21 @@ + + + + + + + + + + + + + + + diff --git a/src/MaterialDesign3.Demo.Wpf/App.xaml b/src/MaterialDesign3.Demo.Wpf/App.xaml index eb02cdc8a1..b1731454db 100644 --- a/src/MaterialDesign3.Demo.Wpf/App.xaml +++ b/src/MaterialDesign3.Demo.Wpf/App.xaml @@ -124,6 +124,21 @@ + + + + + + + diff --git a/src/MaterialDesign3.Demo.Wpf/MenusAndToolBars.xaml b/src/MaterialDesign3.Demo.Wpf/MenusAndToolBars.xaml index 797348de8b..f1bb219680 100644 --- a/src/MaterialDesign3.Demo.Wpf/MenusAndToolBars.xaml +++ b/src/MaterialDesign3.Demo.Wpf/MenusAndToolBars.xaml @@ -8,7 +8,10 @@ d:DesignHeight="300" d:DesignWidth="300" mc:Ignorable="d"> - + + + + @@ -57,6 +60,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The menu height matches with the parent panel height. Use the splitter to see the adaptive menu in action. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -178,28 +346,51 @@ - + + + + - - + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +