public TDLDayView(UIExtension.TaskIcon taskIcons, UIExtension.TaskRecurrences taskRecurrences, int minSlotHeight) { minHourLabelWidth = DPIScaling.Scale(minHourLabelWidth); hourLabelIndent = DPIScaling.Scale(hourLabelIndent); dayHeadersHeight = DPIScaling.Scale(dayHeadersHeight); longAppointmentSpacing = DPIScaling.Scale(longAppointmentSpacing); dayGripWidth = 1; // to match app styling m_Renderer = new TDLRenderer(Handle, taskIcons); m_Items = new System.Collections.Generic.Dictionary <UInt32, CalendarItem>(); m_UserMinSlotHeight = minSlotHeight; m_LabelTip = new LabelTip(this); m_TaskRecurrences = taskRecurrences; m_FutureItems = new Dictionary <uint, CalendarFutureItem>(); InitializeComponent(); }