Created
March 28, 2015 20:37
-
-
Save nickdarnell/90a3091c6a3ee4c6feef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SolidColorBrush current = SystemColors.HighlightBrush; | |
FieldInfo colorCacheField = typeof(SystemColors).GetField("_colorCache", | |
BindingFlags.Static | BindingFlags.NonPublic); | |
Color[] _colorCache = (Color[])colorCacheField.GetValue(typeof(SystemColors)); | |
_colorCache[14] = Color.FromArgb(0xFF, 0xFF, 0x00, 0x00); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment