/// <summary> /// Initializes a new instance of the <see cref="CalendarSystemRenderer"/> class. /// </summary> /// <param name="calendar"></param> public CalendarSystemRenderer(Calendar calendar) : base(calendar) { ColorTable = new CalendarColorTable(); SelectedItemBorder = 1; }
/// <summary> /// Shortcut to one on CalendarColorTable /// </summary> /// <param name="color"></param> /// <returns></returns> private static Color FromHex(string color) { return(CalendarColorTable.FromHex(color)); }