Git Product home page Git Product logo

winblur's Introduction

ipiccy_image (2)

๐ŸชŸ WinBlur (Windows 10 & Above)

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.

  • Step 1. Install WinBlur from NuGET.
Install-Package WinBlur
  • Step 2. Head over to your form, and import the packages needed.
using WinBlur;
using static WinBlur.UI;
  • Step 3. A) If you are not using the 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);
  • Step 3. B) If you are using the 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.

image

Open Source

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.