MahApps.Metro.Resources

"loose" file XAML Resource for Metro UI's. All icons taken from "Modern UI Icons" created by Austin Andrews http://modernuiicons.com https://github.com/Templarian/WindowsIcons


Keywords
.NET, Icon, Library, Material, Metro, ModernUI, Toolkit, UI, WPF, XAML
License
MIT
Install
Install-Package MahApps.Metro.Resources -Version 0.6.1

Documentation

MahApps.Metro.Resources

Old icon resources repository which will be no longer updated.

You can get this package via NuGet.

Entypo license
WindowsIcons license

But you should really use the new MahApps.Metro.IconPacks to get some additional awesome stylish and handmade icons for better cool looking applications.

Usage

Add the MahApps.Metro.Resources resource dictionary to your App.xaml or window resource tag.

<ResourceDictionary Source="pack://application:,,,/YourApplicationName;component/YourResourceFolder/Icons.xaml" />

If you added all MahApps.Metro resources to your App.xaml or window resources tag then you can use the icons e.g. for a circle button like in this sample.

<Button Width="50" Height="50"
        Style="{DynamicResource MetroCircleButtonStyle}">
    <Rectangle Width="20" Height="20"
               Fill="{Binding Path=Foreground, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Button}}}">
        <Rectangle.OpacityMask>
            <VisualBrush Stretch="Uniform" Visual="{DynamicResource appbar_city}" />
        </Rectangle.OpacityMask>
    </Rectangle>
</Button>

Showcase

You can use this application download if you want to show which Icons are included.

2016-09-13_15h33_53