Example #1
0
 /// <summary>
 /// Get .Net system color value as defined by this instance.
 /// </summary>
 private Color GetSysColor(KnownColor name) =>
 SysColorValues.TryGetValue(name, out var result)
         ? result
         : Color.Empty;
Example #2
0
 protected override Color GetSysColor(KnownColor name) =>
 SysColorValues.TryGetValue(name, out var result)
         ? result
         : Color.Empty;