Skip to main content

TransparencyLevelHint Property

Gets or sets the WindowTransparencyLevel that the TopLevel should use when possible. Accepts multiple values which are applied in a fallback order. For instance, with "Mica, Blur" Mica will be applied only on platforms where it is possible, and Blur will be used on the rest of them. Default value is an empty array or "None".

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public IReadOnlyList<WindowTransparencyLevel> TransparencyLevelHint { get; set; }

Property Value

IReadOnlyList(WindowTransparencyLevel)

See Also

Reference

TopLevel Class
Avalonia.Controls Namespace