Beispiel #1
0
 static Color GetColorBackground(dntheme.ColorType colorType)
 {
     return dntheme.Themes.Theme.GetColor(colorType).InheritedColor.Background.GetColor(null).Value;
 }
Beispiel #2
0
		static Color GetColorBackground(dntheme.ColorType colorType) {
			var c = dntheme.Themes.Theme.GetColor(colorType).InheritedColor.Background.GetColor(null);
			Debug.WriteLineIf(c == null, string.Format("Background color is null: {0}", colorType));
			return c.Value;
		}