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.
Unfortunately, activation email could not send to your email. Please try again.

Setting a theme using Visual Style has no effect

Thread ID:

Created:

Updated:

Platform:

Replies:

120617 Sep 28,2015 04:59 AM Nov 9,2016 07:26 AM WPF 5
loading
Tags: SfDataGrid
Senthil Ramanathan
Asked On September 28, 2015 04:59 AM

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

Elangovan S [Syncfusion]
Replied On September 29, 2015 06:10 AM

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


Senthil Ramanathan
Replied On September 29, 2015 08:23 PM

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

I am running 13.2.0.29



Attachment: themeeffect_d32dc510.zip

Elangovan S [Syncfusion]
Replied On September 30, 2015 11:46 PM

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


Mario
Replied On November 8, 2016 04:53 PM

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

Thanks.

Jai Ganesh S [Syncfusion]
Replied On November 9, 2016 07:26 AM

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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;