Skip to main content

Default Property

Inherit theme variant from the parent. If set on Application, system theme is inherited. Using Default as the ResourceDictionary.Key marks this dictionary as a fallback in case the theme variant or resource key is not found in other theme dictionaries.

Definition

Namespace: Avalonia.Styling
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static ThemeVariant Default { get; }

Property Value

ThemeVariant

See Also

Reference

ThemeVariant Class
Avalonia.Styling Namespace