Hello,
I'm using actipro themes package with avalonia UI, and I want to customize user interface , by settings of some actipro theme generation parameters in App.axaml.
This is theme definition block inside my App.axaml ;
<!-- ActiPro Styles -->
<actipro:ModernTheme>
<actipro:ModernTheme.Definition>
<generation:ThemeDefinition
UserInterfaceDensity="Spacious"
BaseFontSize="{StaticResource BaseFontSize}"
DefaultFontFamily="{StaticResource Montserrat}"
HeadingFontFamily="{StaticResource Montserrat}"
EditAppearanceKind="Soft"
ButtonAppearanceKind="Outline"
TabAppearanceKind="Outline"
ToggleSwitchAppearanceKind="Solid"
UseAccentedSwitches="True">
</generation:ThemeDefinition>
</actipro:ModernTheme.Definition>
</actipro:ModernTheme>
I want to implement a UI Settings form that can be available to users, to change some of the above parameters, following ;
UserInterfaceDensity
BaseFontSize
EditAppearanceKind
ButtonAppearanceKind
I'm an experienced C# developer and I can manage to implement settings/options/appsettings etc. patterns.
I just need to know how to change these values dynamically in runtime, or before app. start,
Thanks for any help