This project contains an SVG to XML converter, all of the Material Design Icons in a ResourceDictionary, and examples of their usage in WPF and UWP applications.
The converter app uses vvvv's SVG library to parse the SVG xml. It then converts the svg elements to their corresponding XAML element, places them on a canvas, inside of a Viewbox
, and then inside of a ControlTemplate
. These are all added to a ResourceDictionary.xaml
and can be used easily in buttons.
<Button>
<Button.Content>
<ContentControl Template="{StaticResource IconKeyHere}" />
</Button.Content>
</Button>
I processed all of the Material Design icons and placed them in a resource dictionary here.