public Color this[UInt32 colorType] { get { UInt32 nativeColor = UxTheme.GetImmersiveColorFromColorSetEx(this._colorSet, colorType, false, 0); //if (nativeColor == 0) // throw new InvalidOperationException(); return(Color.FromArgb( (Byte)((0xFF000000 & nativeColor) >> 24), (Byte)((0x000000FF & nativeColor) >> 0), (Byte)((0x0000FF00 & nativeColor) >> 8), (Byte)((0x00FF0000 & nativeColor) >> 16) )); } }