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
close icon

NullReferenceException when try to apply theme to the element

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?

1 Reply

RG Rajkumar Ganesamoorthy Syncfusion Team 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

Live Chat Icon For mobile
Up arrow icon