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

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"
                                   
                                   syncfusionskin:SfSkinManager.VisualStyle="Lime"
                                     
                                   ColumnSizer="AutoWithLastColumnFill"
                                   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.

 

Regards,

Rajkumar G


Attachment: SfSkinMangerIssueTesting_d14da0b8.zip

Loader.
Up arrow icon