Add section about the ordering of ModernTheme in App.axaml

Themes, Shared, and Core Libraries for Avalonia Forum

Posted 3 months ago by Magnus Lindhe
Avatar

It might be a good idea to add a section in the documentation explaining the ordering of styles in App.axaml. 

For example, if you already have an app with a theme and you only want to use some Actipro specific controls you should make sure to add <ModernTheme Includes="..." />  at the top of your styles so that other known control styles will not be override by the modern theme. 

It is general Avalonia behavior but it would make a nice touch to give some guidance in the documentation.

Comments (2)

Answer - Posted 3 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Magnus,

Thank you for the feedback.  We do have documentation regarding ordering of themes in App.xaml.  Did you see the topic linked below?

https://www.actiprosoftware.com/docs/controls/avalonia/themes/getting-started#using-actipro-themes


Actipro Software Support

Posted 3 months ago by Magnus Lindhe
Avatar

Thanks, I did not notice that one! Nice that you're one step ahead :)

Add Comment

Please log in to a validated account to post comments.