BlurWindow 5.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BlurWindow --version 5.0.0
NuGet\Install-Package BlurWindow -Version 5.0.0
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="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BlurWindow --version 5.0.0
#r "nuget: BlurWindow, 5.0.0"
#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=5.0.0

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

WPF Aero Glass Lib

Only Windows 10 and Windows 11(before 22H2) are supported

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>

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"

New feature

ControlBox Button Visibility

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

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 242 1/18/2024
7.0.0 217 9/21/2023
6.1.0 216 7/17/2023
6.0.0 152 7/17/2023
5.0.0 183 5/13/2023
4.0.0 1,041 10/9/2022
3.0.0 632 2/1/2021
2.0.0 612 6/17/2020
1.0.0.1 666 10/16/2019
1.0.0 518 10/16/2019

ControlBox button visibility control