public override void Draw( CGRect rect )
{
using (CGContext context = UIGraphics.GetCurrentContext()) {
context.SetFillColor(UIColor.White.CGColor);
context.FillRect(new RectangleF(0, 0, width, 18 + headerHeight));
}
// Add day of week labels (monday, tuesday, etc).
DrawDayLabels(rect);
// Displat month header.
if (showHeader)
DrawMonthLabel(rect);
}