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)
- C#
- VB
- F#
public IReadOnlyList<WindowTransparencyLevel> TransparencyLevelHint { get; set; }
Public Property TransparencyLevelHint As IReadOnlyList(Of WindowTransparencyLevel)
Get
Set
member TransparencyLevelHint : IReadOnlyList<WindowTransparencyLevel> with get, set
Property Value
IReadOnlyList(WindowTransparencyLevel)