Skip to main content

ThemeVariant Properties

Properties

DarkUse the Dark theme variant.
DefaultInherit 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.
InheritVariantReference to a theme variant which should be used, if resource wasn't found for the requested variant.
KeyKey of the theme variant by which variants are compared.
LightUse the Light theme variant.

See Also

Reference

ThemeVariant Class
Avalonia.Styling Namespace