Posts

Showing posts with the label MahApps.Metro.IconPacks

Donate

Using MahApps.Metro.IconPacks In WPF Application

Image
Good day! Ever wonder how to style your WPF application controls or window with icons where you can choose from several hundreds of icons in a package? Well, nothing to worry about since there's an awesome Nuget Package that provides icons to suit your needs. It's called MahApps.Metro.IconPacks . The cool thing is, it's even grouped into several categories and that each category containes hundreds of icons. To use this awesome library of icons in your WPF project, install the Nuget Package specifically MahApps.Metro.IconPacks. In your XAML view, reference the MahApps.Metro.IconPacks namespace first. xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks" To use them like applying icons to your menu items, call the iconsPacks namespace and select PackIconMaterial. Then set the Kind property with the icon of your liking. <iconPacks:PackIconMaterial VerticalAlignment= "Center" HorizontalAlignment= "Center"

Donate