Search code examples
wpfxamlwindows-phoneicons

How to get an icon from a picture and used it as a normal image in XAML


Here is a picture which contains lots of icons in MSDN: http://i3.msdn.microsoft.com/areas/epx/content/images/imagesprite.png. How can I get one of those icons and use that icon in my app?


Solution

  • Use MS Paint, open image & crop all the icons and save it in separate folder.

    Set background of every icon with transparent background color.

    Now you can use all icons in your application.