Note: This document is auto-generated by
scripts/generate_control_reference_docs.py. Do not edit manually.
Avalonia.Controls.ThemeVariantScopeAvalonia.ControlsAvalonia.Controlssrc/Avalonia.Controls/ThemeVariantScope.csDecoratorcontrolpublic static readonly StyledProperty<ThemeVariant> ActualThemeVariantProperty = ThemeVariant.ActualThemeVariantProperty.AddOwner<ThemeVariantScope>();public static readonly StyledProperty<ThemeVariant?> RequestedThemeVariantProperty = ThemeVariant.RequestedThemeVariantProperty.AddOwner<ThemeVariantScope>();public ThemeVariant? RequestedThemeVariant {<ThemeVariantScope x:Name="SampleThemeVariantScope" />
using Avalonia.Controls;
var control = new ThemeVariantScope();