Hi fahad,
Query1: I want to do
this at the application level (App.xaml)
We have prepared a
sample based on your requirement in which we have customized the style of
ButtonAdv for the FluentLight theme. Please find the code snippet, and sample
for the same from below location.
Sample Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/ButtonAdv-style-customization-1184442733.zip
Code snippet:
|
MainWindow.xaml:
<Setter Property="SmallIcon" Value="{x:Null}"/>
<Setter Property="LargeIcon" Value="{x:Null}"/>
|
Please try the above
solution and let us know if it is helpful.
Query2: It works on the default theme only and if i change the theme i.e.Material or Fluent Button Icon shows again.
We are unable to
reproduce the reported issue, please refer to the attached sample for reference.
Sample link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/ButtonAdvIcon909574086.zip
If we
misunderstood the query, please provide more details about the requirement, or
modify our sample and revert to us with a reproducible issue or video. So, it
will be helpful to prompt the solution further.
Regards,
Mahalakshmi
S