How to enumerate through Colors in WinRT?
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: Dictionary<string, Windows.UI.Color> Colors() { var _Colors = typeof(Windows.UI.Colors) // using System.Reflection; .GetRuntimeProperties() .Select(c => new { Color =