We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Setting a theme using Visual Style has no effect

Hi ,
Please refer to attached project. The theme setting does not take effect.
Grid definition in xaml :
<syncfusion:SfDataGridx:Name="dataGrid"
AutoExpandGroups="True"
AutoGenerateColumns="False"
ColumnSizer="SizeToHeader"
AllowSorting="True"
NavigationMode="Cell"
ShowGroupDropArea="True"
ShowColumnWhenGrouped="False"
LiveDataUpdateMode="AllowSummaryUpdate"
AllowDraggingColumns="True"
AllowGrouping="True"
AllowResizingColumns="True"
AllowFiltering="True"

DockPanel.Dock="Top"
>
 
<syncfusion:SfDataGrid.Columns>
<syncfusion:GridTextColumnMappingName="Manager"HeaderText="Manager"/>
<syncfusion:GridTextColumnMappingName="Code"HeaderText="Code"/>
syncfusion:SfDataGrid.Columns>
syncfusion:SfDataGrid>
Setting the theme :
SfSkinManager.SetVisualStyle(dataGrid,VisualStyles.Metro);

Attachment: SFThemesTest_7ca5da80.zip

5 Replies

ES Elangovan S Syncfusion Team September 29, 2015 10:10 AM UTC

Hi Senthil,

We have analyzed your sample and the metro theme is applied correctly. We are unable to reproduce the issue which you have reported “Setting a theme using visual style has no effect”.

We attached the screenshot of your project with theme modification in the below link for your reference.

http://www.syncfusion.com/downloads/support/forum/120617/ze/VisualStyle-951227468

Please let us know if you have any query.

Regards,

Elangovan S



SR Senthil Ramanathan September 30, 2015 12:23 AM UTC

Very weird. When i run it, i get something else. See attached. 

I am running 13.2.0.29



Attachment: themeeffect_d32dc510.zip


ES Elangovan S Syncfusion Team October 1, 2015 03:46 AM UTC

Hi Senthil,

A support incident to track the status of this query has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents

Please let me know if you have any questions.

Regards,

Elangovan S



MA Mario November 8, 2016 09:53 PM UTC

Has this issue been resolved? We are having the same exact problem with our application.

Thanks.


JG Jai Ganesh S Syncfusion Team November 9, 2016 12:26 PM UTC

Hi Mario, 
 
In SfSkinManager, we have merged the Skin resources from the theme assemblies by using reflection while loading the dlls. So we suggest you set the CopyLocal as True for the Theme dlls.  
 
Screen Shot: 
 
 
 
Regards, 
Jai Ganesh S 


Loader.
Live Chat Icon For mobile
Up arrow icon