WinBlur is a C#, VB .NET Library that allows developers to use modern blur types on their forms.
WinBlur is a C#, VB .NET Library that allows developers to use modern blur types on their forms.
Getting Started: 3 easy steps to use WinBlur.
WinBlur
from NuGET.Install-Package WinBlur
using WinBlur;
using static WinBlur.UI;
None
FormBorderStyle, then create the Form_Load
event, or head over to the form constructor and add the following code:
// cntrl: The form/control you are targetting.
// blurType: The blur type for the form/control.
// designMode: The design mode (or style) for the form/control.
// this.BackColor = Color.Black;
// The code on top is recommended, but is not necessary.
// In case the code below doesn't work by itself, please change the control/form BackColor to Black/White.
SetBlurStyle(frm: this, blurType: BlurType.Acrylic, designMode: Mode.DarkMode, showWindowsTitle: true);
None
FormBorderStyle, then create the Form_Load
event, or head over to the form constructor and add the following code:
// cntrl: The form/control you are targetting.
// blurType: The blur type for the form/control.
// designMode: The design mode (or style) for the form/control.
// this.BackColor = Color.Black;
// The code on top is recommended, but is not necessary.
// In case the code below doesn't work by itself, please change the control/form BackColor to Black/White.
SetBlurStyle(frm: this, blurType: BlurType.Acrylic, designMode: Mode.DarkMode, showWindowsTitle: false);
⚠️WARNING: If you are using the None
FormBorderStyle, then create the Form_Shown
event instead, and add the same code that is shown on top of this text.
📝NOTE: Using WinBlur on Controls is currently most likely not going to work, so this mainly just supports Forms right now.
For DarkMode
, please set your Form.BackColor
to a Dark color, preferrably Color.Black
.
For LightMode
, please set your Form.BackColor
to a Light color/White color, preferrably Color.White
.
There you have it! Your project now supports & uses WinBlur.
This project is open-source, and free to use commercially & personally. I would not like any credit for this, enjoy using it.
If you want to contribute, feel free to make a pull request and merge it.