Ghost1372

everything can be handy

IconElement

Attributes

Name Use
Geometry Geometry
Width Icon Width
Height Icon Height

Use Cases

Geometry Geometric shape

1
2
3
4
<StackPanel Width="200" VerticalAlignment="Center">
<Button Content="Button" HorizontalAlignment="Stretch"/>
<Button Content="Button" hc:IconElement.Geometry="{StaticResource CalendarGeometry}" HorizontalAlignment="Stretch" Margin="0,10,0,0"/>
</StackPanel>

IconElement.Geometry

0%