Hi Aleksander,
Thank you for your patience.
Based on the provided information, we have checked the mentioned issue “Office2010Icon not using as variable”. We can use the Office2010Icon as Dynamic resource variable. We have prepared sample for the same,
We have tested with Syncfusion version 17.1.0.38
Please check the sample and let us know if you still facing the same issue? If not, please modify the sample based on your scenario and revert us back. It will be helpful for us to check on it and provide you the solution at the earliest.
Regards,
Subburaj Pandian V
Your solution worked, but still did not worked for mine project.
So you would understand: I am having Themes.xaml as part of Class Library. There I store all of resources.
I am having DynamicResource for Window Icon property and for your Office property with BitmapImage and UriSource="/MainProject;component/Images/ImageName".
This "/MainProject;component/" reference works for Icon but not for Office one.
I tried this approach in you example and it did not worked.