WPF borderless window with shadow VS2012 style

后端 未结 5 1945
失恋的感觉
失恋的感觉 2021-01-30 07:51

I\'m trying to create an application that looks like Visual Studio 2012. I have used WindowChrome to remove the window borders, and changed the border color in my xaml.

5条回答
  •  孤城傲影
    2021-01-30 08:11

    This is called "Metro style" (Windows 8 style). I think that this Code Project article is interesting for you and it will help you.

    You can try Elysium, which licensed under MIT license and included ApplicationBar and ToastNotification classes, or MetroToolKit, from codeplext, too.

    This is a great tutorial about Elysium, I think that it helps you.

    For shadow, just add a BitmapEffect to a Border from your Grid in XAML:

    
        
            
              
            
            
        
    
    

    enter image description here

提交回复
热议问题