No resources xaml themes in Syncfusion.Core.WinUI

Hello!

Currently testing Syncfusion controls.

The problem when I want to change the style of the control is missing the basic theme resources in Syncfusion.

The NuGet  Syncfusion.Core.WinUI package does not include standard and density themes.

Where are the basic styles?

Best regards

Jarek




5 Replies 1 reply marked as answer

KA Karthick Arjunan Syncfusion Team May 15, 2023 06:25 PM UTC

Hi Jaroslaw Bazarko,

We are validating your reported query. We will validate and update you on or before 17
th May 2023. We appreciate your patience until then.

Regards,
Karthick Arjunan


Marked as answer

KA Karthick Arjunan Syncfusion Team May 18, 2023 05:10 PM UTC

Jaroslaw Bazarko,

We apologize for any inconvenience caused. Could you please provide further details about your requirement?

Based on our understanding, it seems that you would like to apply a style to our control. To assist you, we have prepared a sample that demonstrates how to add the style to the AvatarView control (Syncfusion.Core.WinUi). Please check the sample and let us know your concern.


Attachment: AvatarViewStyleDemo_24169c6e.zip


JB Jaroslaw Bazarko May 18, 2023 05:57 PM UTC

Hello,


Example 1:

When I want to modify the style for AvatarView then where can I find the default style in xaml?

The NuGet Syncfusion.Core.WinUI package does not include standard and density themes.

<ResourceDictionary Source="ms-appx:///Syncfusion.Core.WinUI/Themes/Common.xaml" />

<ResourceDictionary Source="ms-appx:///Syncfusion.Core.WinUI/Themes/DensityStyles/Standard.xaml" />



Example 2:

I want to modify the SfComboBox style. In the Syncfusion.Editors.WinUI package there is a Themes folder with styles for your controls.

The SfComboBox style uses resources such as SyncfusionBodyFontSize, SyncfusionTextControlThemePadding, which are in the Syncfusion.Core.WinUI package


<ResourceDictionary Source="ms-appx:///Syncfusion.Core.WinUI/Themes/Common.xaml" />

<ResourceDictionary Source="ms-appx:///Syncfusion.Core.WinUI/Themes/TextButton.xaml" />

<ResourceDictionary Source="ms-appx:///Syncfusion.Core.WinUI/Themes/DensityStyles/Standard.xaml" />




Is it clear now?





JB Jaroslaw Bazarko May 29, 2023 08:03 AM UTC

Hello,


Will you give me an answer?





KA Karthick Arjunan Syncfusion Team May 29, 2023 02:08 PM UTC

Jaroslaw Bazarko,

We have attached a sample in which we modified the AvatarView and SfComboBox style. Please check the attached sample and let us know your concern. 

If these modifications do not meet your requirements, please provide a detailed explanation of your requirements based on that we will promptly deliver a solution that aligns with your needs.


Attachment: StyleDemo_afa558d6.zip

Loader.
Up arrow icon