Skip to content

Windows Vista, Windows 7 and Windows 10 Blur Behind the Window

License

Notifications You must be signed in to change notification settings

mokeev1995/BlurBehind

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⬜ BlurBehind Library For WPF Apps

BlurBehind - it's a simple library for WPF(not UWP) apps that needs to use blur behind the app window.

📋 Usage

If you want to enable BlurBehind you should use something like:

BlurWindow.EnableWindowBlur(window);

Where window is your window object(e.g. this inside your codebehind window class).


If you want to turn off BlurBehind you should use something like:

BlurWindow.DisableWindowBlur(window);

window means the same thing.

📗 Windows Support

As the title said, it can be used only in

  • Windows Vista
  • Windows 7
  • Windows 10

Other Windows versions doesn't support effect like this. If you try to enable blur with Windows 8 or 8.1, you'll get an Exception(NotSupportedExeption).

You'll need check

if (BlurWindow.CanBeEnabled)
    BlurWindow.EnableWindowBlur(window);

or just handle this exception to avoid crashing your app.

📗 License

Licensed under the GPLv3 license.

Copyright ©️ 2017 Mokeev Andrey


mokeev1995.ru  ·  GitHub @mokeev1995  ·  Twitter @mokeev1995  ·  VK @mokeev1995

About

Windows Vista, Windows 7 and Windows 10 Blur Behind the Window

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%