BlurWindow 7.0.0
See the version list below for details.
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
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"
ControlBox Button Visibility
MinimizeVisibility = Visibility.Collapsed
MaximizeVisibility = Visibility.Collapsed
CloseVisibility = Visibility.Collapsed
ContentSpan
ContentSpan="true"
New feature
IsBlurBackground
IsBlurBackground="true"
License
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-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. |
-
.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.
Add ContentSpan