Enumerating through colors in non-WinRT is a common question with a simple answer. But, since the Colors 'ENUM' is actually just a class with static 'color' properties you can't use the standard approach in WinRT.
How do you enumerate colors in WinRT?
Like this:
Enumerating through Colors in WinRT requires
using System.Reflection
so you can fetch the static properties sub-classed in the container class 'Colors'. Like this:Source: http://codepaste.net/j3mzrw
Note: if you don't like reflection (for some reason) then there's nothing stopping you from hand coding an enumerable of the colors, too. Creating a 'dynamic' list of colors is really just fancy for fancy sake - colors don't get updated. Just write the list!
Here, I did it for you:
Either works.