In our project we use a ResourceDictionary to define all the icons in our application. They are defined mostly in the following way: