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.

NullReferenceException when try to apply theme to the element

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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?

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

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

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.

;