Create a vertical Menu in a Wpf

前端 未结 3 818
醉话见心
醉话见心 2021-02-07 05:49

How is it possible to create a vertical menu on the left side of the window in Visual Studio (in a wpf) with xaml like the one in http://www.wpftutorial.net/? I try the code:

3条回答
  •  轮回少年
    2021-02-07 06:15

    Accepted anwer is good. But it is a long way to get a good side bar working. you can use this control if what you need is a working menu now.

    https://github.com/beto-rodriguez/MaterialMenu

    you can install it from nuget too.

    here is an example

    
            
                
                    
                        
                            
                                Welcome
                            
                        
                        
                        
                        
                    
                
            
        
    

提交回复
热议问题