Completed
Last Updated: 20 Aug 2019 13:20 by ADMIN
Release R3 2019
Jay
Created on: 07 Aug 2019 08:14
Category: Calendar
Type: Bug Report
1
RadCalendar: ElementRender doesn't process the CalendarCellElements for the row/column headers

By default, if you need to format the cells in RadCalendar, the ElementRender event is an appropriate solution. However, it doesn't process the row/column header cell elements illustrated in the attached screenshot.

Workaround:

            MonthViewElement mve = (MonthViewElement)this.radCalendar1.CalendarElement.CalendarVisualElement;
            foreach (CalendarCellElement cell in mve.TableElement.Children)
            {
                if (cell.Row == 0)
                {
                    cell.DrawFill = true;
                    cell.BackColor = Color.Red;
                } 
            } 

0 comments