Posted 3 days ago by Muammer Buğra Kurnaz
Version: 25.2.1
Avatar

Hi,

I have a question regarding style classes, such as "theme-solid". I can use them in my application perfectly fine. However, while using Rider, I see warnings on the axaml that they are not found. This does not happen for style classes that I define in my style collections.

For instance:

 <Button Grid.Row="2"
         Classes="theme-solid accent" />

Rider shows a warning that "Style class theme-solid" not found. 

For style classes that I have created, importing the style collection with "StyleInclude" solves the problem. Is it possible to remove the warning for Actipro styles as well?

Thank you in advance. (By the way, I find this library great, very nice-looking. So thanks!)

(Using Windows 11, Jetbrains Rider 2025.3, .NET 8. Actipro 25.2.1)

Comments (2)

Answer - Posted 16 hours ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Thank you for reporting this.  We've noticed that in Rider as well and found it frustrating that Rider wasn't properly identifying style classes we define in our dynamic themes.  We did some research and came up with a workaround where our next build will include a Styles file in the Shared Library that has all our style classes defined in a way Rider will properly recognize them.  The definitions are just "stub" empty usages of the style classes, but Rider's static examination can identify them once you add one new line to your app's XAML.  This update will be in the next build.


Actipro Software Support

Posted 10 hours ago by Muammer Buğra Kurnaz
Avatar

Hello,

Thank you!

Add Comment

Please log in to a validated account to post comments.