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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

NullReferenceException when try to apply theme to the element

Thread ID:





123339 Mar 8,2016 10:36 PM UTC Mar 9,2016 10:15 AM UTC WPF 1
Tags: SkinManager
Maxim Antonov
Asked On March 8, 2016 10:36 PM UTC

Hello. I have trouble with applying themes to my controls. I added dll SfSkinManager and Lime theme. Later, I use such code

  xmlns:syncfusionskin ="clr-namespace:Syncfusion.SfSkinManager;assembly=Syncfusion.SfSkinManager.WPF"
 <syncfusion:SfDataGrid ItemsSource="{Binding ElementName=sfDataPager, Path=PagedSource}" AutoGenerateColumns="False" 
                                   AllowResizingColumns="True" AllowDraggingColumns="True" AllowFiltering="True"
                                   Visibility="{Binding Path=ShowTable, Converter={StaticResource Converter}}">

And nothing happens. I see both these dll in my project. In output window I saw this: Exception thrown: 'System.NullReferenceException' in Syncfusion.SfSkinManager.WPF.dll

Please, can you helo me, what's problem?

Rajkumar Ganesamoorthy [Syncfusion]
Replied On March 9, 2016 10:15 AM UTC

Hi Maxim,


Thank you for contacting Syncfusion Support.


We have analyzed your reported query. We were unable to reproduce the reported issue from our side. We have attached the sample which we checked from our side for your review and the same can be downloaded from the attached file.


So could you please provide more information like issue reproducing steps in our sample or modified sample. It will help us to provide an appropriate solution.



Rajkumar G

Attachment: SfSkinMangerIssueTesting_d14da0b8.zip


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon