How to remove an icon from ButtonAdv control?
We can remove an icon in ButtonAdv by setting a null value to the corresponding icon based on the SizeMode property. Set a null value to the SmallIcon property for Normal SizeMode and to the LargeIcon property for Large SizeMode. The following code explains the same.
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="50"/>
<RowDefinition Height="80"/>
</Grid.RowDefinitions>
<sync:ButtonAdv x:Name="normalicon" SizeMode="Normal" Label="Normal-ButtonAdv"
SmallIcon="{x:Null}" Width="180" Height="30"/>
<sync:ButtonAdv x:Name="largeicon" Grid.Row="1" SizeMode="Normal"
Label="Large-ButtonAdv" LargeIcon="{x:Null}"
SmallIcon="{x:Null}" Width="180"
Height="30"/>
</Grid>
Output:
