SFSkinManager Theme does not persist in prism regions

on the right groupBar coded directly in the MainWindow.xaml
on the left groupBar using Prism Regions
how do i get the style to work with Prism regions

image
Attachment: PrismSkinManager_b32a4a19.rar

3 Replies 1 reply marked as answer

VR Vijayalakshmi Roopkumar Syncfusion Team September 29, 2020 03:55 PM UTC

Hi RiNDo 
 
Thank you for contacting Syncfusion Support. 
 
We have checked the reported case that theme for GroupBar header is not applied properly when the items populated using Prism. We have forwarded this to development team and they are currently validating it. We will check and update you the complete details by tomorrow [30th Sep, 2020] 
 
Please let us know if you have any other concerns. 
 
Regards, 
Vijayalakshmi VR 



GS Gokul Sainarayanan Syncfusion Team September 30, 2020 05:25 PM UTC

Hi RiNDo,

Thank you for your patience.

We have confirmed the reported issue is a defect and logged a bug report on this. You can track the status of this bug using the following link:

Link: https://www.syncfusion.com/feedback/18355/theme-not-applied-properly-for-groupbaritem-header

We will provide the patch for the reported issue by October 14, 2020. We appreciate your patience until then.

Regards,
Gokul S


VR Vijayalakshmi Roopkumar Syncfusion Team October 14, 2020 11:33 AM UTC

Hi RiNDo 
 
Thank you for your patience. 
 
On our analysis on the reported behaviour “Theme not applied properly for GroupItem header”, in your given sample, the control (GroupBarItem) derived in a separate xaml file. The XAML file consists of only the Resources section for the Control, which contains a ResourceDictionary with an associated Name attribute. So that the theme does not applied to the derived control. So we suggested you to use the following code the derived control to apply the theme properly. 
 
View A class 
 
 
public ViewA() 
{ 
InitializeComponent(); 
this.SetResourceReference(StyleProperty, typeof(GroupBarItem)); 
} 
 
 
 
Also please refer the following UG link for your reference: 
 
  
Please try our suggestion and let us know if it resolves at your end. 
Regards 
Vijayalakshmi VR 
 


Marked as answer
Loader.
Up arrow icon