dotnet add package BlurWindow --version 7.0.0
NuGet\Install-Package BlurWindow -Version 7.0.0
<PackageReference Include="BlurWindow" Version="7.0.0" />
paket add BlurWindow --version 7.0.0
#r "nuget: BlurWindow, 7.0.0"
// Install BlurWindow as a Cake Addin #addin nuget:?package=BlurWindow&version=7.0.0 // Install BlurWindow as a Cake Tool #tool nuget:?package=BlurWindow&version=7.0.0
WPF Aero Glass Lib
Only Windows 10 and Windows 11(before 22H2) are supported
import xaml prefix
Replace <Window></Window> with <blurwindow:BlurWindow></blurwindow:BlurWindow>
Make MainWindow inherit from TianXiaTech.BlurWindow
public partial class MainWindow : TianXiaTech.BlurWindow
Specify background transparency
<Window.Background> <SolidColorBrush Color="White" Opacity=".5"/> </Window.Background>
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>
ControlBox Button Visibility
MinimizeVisibility = Visibility.Collapsed MaximizeVisibility = Visibility.Collapsed CloseVisibility = Visibility.Collapsed
|Product||Versions 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-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.|
- No dependencies.
- No dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.