BlurWindow 7.0.1

dotnet add package BlurWindow --version 7.0.1
NuGet\Install-Package BlurWindow -Version 7.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BlurWindow" Version="7.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BlurWindow --version 7.0.1
#r "nuget: BlurWindow, 7.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BlurWindow as a Cake Addin
#addin nuget:?package=BlurWindow&version=7.0.1

// Install BlurWindow as a Cake Tool
#tool nuget:?package=BlurWindow&version=7.0.1

WPF Aero Glass Lib

Support Windows 10 (>= 1703) and Windows 11(>= 21H2)

Usage

Step 1

import xaml prefix

xmlns:blurwindow="clr-namespace:TianXiaTech;assembly=BlurWindow";

Step2

Replace <Window></Window> with <blurwindow:BlurWindow></blurwindow:BlurWindow>

Step3

Make MainWindow inherit from TianXiaTech.BlurWindow

public partial class MainWindow : TianXiaTech.BlurWindow

Step4

Specify background transparency

<Window.Background>
    <SolidColorBrush Color="White" Opacity=".5"/>  
 </Window.Background>

If OS Version is Windows 11(version >=22H2), the following additional properties need to be specified

   
   AcrylicOpacity="128"

Additional

You can set the window to be partially transparent, like below

<Grid>
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="*"/>
        <ColumnDefinition Width="3*"/>
    </Grid.ColumnDefinitions>

    <Grid  Grid.Column="0">
        <Grid.Background>
            <SolidColorBrush Color="MediumPurple" Opacity=".5"/>
        </Grid.Background>
    </Grid>

    <Grid Grid.Column="1" Background="White"/>
</Grid>

You can also set the picture background directly

<Grid>
    <Grid.Background>
        <ImageBrush ImageSource="yasuo.jpg" Stretch="UniformToFill" Opacity=".5"/>
    </Grid.Background>
</Grid>

Title foreground

        TitleForeground="Blue"

ControlBox Visibility

        ControlBoxVisibility="Visibility.Collapsed"

Icon Visibility

        IconVisibility="Visibility.Collapsed"

Title Visibility

        TitleVisibility="Visibility.Collapsed"

IsEnable ContextMenu

        IsEnableContextMenu="true"

ControlBox Button Visibility

        MinimizeVisibility = Visibility.Collapsed
        MaximizeVisibility = Visibility.Collapsed
        CloseVisibility = Visibility.Collapsed

ContentSpan

        ContentSpan="true"

IsBlurBackground

        IsBlurBackground="true"

New feature

Support Windows 11(Version >= 22H2)

License

MIT License.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.0.1 195 1/18/2024
7.0.0 212 9/21/2023
6.1.0 213 7/17/2023
6.0.0 149 7/17/2023
5.0.0 180 5/13/2023
4.0.0 1,004 10/9/2022
3.0.0 627 2/1/2021
2.0.0 607 6/17/2020
1.0.0.1 663 10/16/2019
1.0.0 518 10/16/2019

support Windows 11(version >= 22H2)