Table of Contents

Struct WindowTransparencyLevel

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll
public readonly struct WindowTransparencyLevel : IEquatable<WindowTransparencyLevel>
Implements
Inherited Members

Properties

AcrylicBlur

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

public static WindowTransparencyLevel AcrylicBlur { get; }

Property Value

WindowTransparencyLevel

Blur

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

public static WindowTransparencyLevel Blur { get; }

Property Value

WindowTransparencyLevel

Mica

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

public static WindowTransparencyLevel Mica { get; }

Property Value

WindowTransparencyLevel

None

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

public static WindowTransparencyLevel None { get; }

Property Value

WindowTransparencyLevel

Transparent

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

public static WindowTransparencyLevel Transparent { get; }

Property Value

WindowTransparencyLevel

Methods

Equals(WindowTransparencyLevel)

public bool Equals(WindowTransparencyLevel other)

Parameters

other WindowTransparencyLevel

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(WindowTransparencyLevel, WindowTransparencyLevel)

public static bool operator ==(WindowTransparencyLevel left, WindowTransparencyLevel right)

Parameters

left WindowTransparencyLevel
right WindowTransparencyLevel

Returns

bool

operator !=(WindowTransparencyLevel, WindowTransparencyLevel)

public static bool operator !=(WindowTransparencyLevel left, WindowTransparencyLevel right)

Parameters

left WindowTransparencyLevel
right WindowTransparencyLevel

Returns

bool