How to change PdfViewerControl style using SyncfusionThemeDictionary

Hi,

I try desperately to change the background of the PdfViewer toolbar but I do not find how.

I try to insert these lines in my app.xml Resource part:

        <syncTheme:SyncfusionThemeDictionary>
            <syncTheme:SyncfusionThemeDictionary.MergedDictionaries>
                <syncTheme:LightTheme />
                <ResourceDictionary>
                    <Color x:Key="SfPdfViewerToolbarBackgroundColor">Red</Color>
                </ResourceDictionary>
            </syncTheme:SyncfusionThemeDictionary.MergedDictionaries>
        </syncTheme:SyncfusionThemeDictionary>
But it does not change anything. My toolbar is still grey...

Does someone can tell me what is wrong 

Regards.

Eric.
 

2 Replies

AV Ashokkumar Viswanathan Syncfusion Team April 6, 2020 10:07 AM UTC

Hi Eric, 

We were able to reproduce the issue, ”Theme Color is not changed properly for the toolbar background”. Currently we are validating the issue, we will update further details on 8th April 2020.  

Regards, 
Ashok Kumar Viswanathan 



AV Ashokkumar Viswanathan Syncfusion Team April 8, 2020 12:51 PM UTC

 Hi Eric, 
 
We have confirmed that the issue, “Theme Color is not changed properly for the toolbar” is defect and logged a bug report for this issue. The fix for this issue will be included in our weekly NuGet published under nuget.org on 21st  April 2020. 
 
Please find the feedback link for the issue, 
 
 
Regards, 
Ashok Kumar Viswanathan. 


Loader.
Up arrow icon