Skip to main content

WindowTransparencyLevel Struct

Definition

Assembly:Avalonia.Controls
Package:Avalonia
public struct WindowTransparencyLevel

Inheritance: ValueType -> WindowTransparencyLevel

Implements: IEquatable<WindowTransparencyLevel>

Methods

NameDescription
Equals (2 overloads)No summary available.
GetHashCodeNo summary available.
ToStringNo summary available.

Equals overloads

Equals Method

public bool Equals(Avalonia.Controls.WindowTransparencyLevel other)
Parameters

other Avalonia.Controls.WindowTransparencyLevel

Returns

bool

Equals Method

public bool Equals(object obj)
Parameters

obj object

Returns

bool

GetHashCode Method

public int GetHashCode()

Returns

int

ToString Method

public string ToString()

Returns

string

Properties

NameDescription
AcrylicBlurThe window background is a blur-behind with a high blur radius. This level may fallback to Blur.
BlurThe window background is a blur-behind where nothing is drawn in the window.
MicaThe window background is based on desktop wallpaper tint with a blur. This will only work on Windows 11
NoneThe window background is Black where nothing is drawn in the window.
TransparentThe window background is Transparent where nothing is drawn in the window.

AcrylicBlur Property

The window background is a blur-behind with a high blur radius. This level may fallback to Blur.

public Avalonia.Controls.WindowTransparencyLevel AcrylicBlur { get; set; }

Blur Property

The window background is a blur-behind where nothing is drawn in the window.

public Avalonia.Controls.WindowTransparencyLevel Blur { get; set; }

Mica Property

The window background is based on desktop wallpaper tint with a blur. This will only work on Windows 11

public Avalonia.Controls.WindowTransparencyLevel Mica { get; set; }

None Property

The window background is Black where nothing is drawn in the window.

public Avalonia.Controls.WindowTransparencyLevel None { get; set; }

Transparent Property

The window background is Transparent where nothing is drawn in the window.

public Avalonia.Controls.WindowTransparencyLevel Transparent { get; set; }