public override void OnDrawItemText(CalendarRendererBoxEventArgs e)
        {
            CalendarItem item = e.Tag as CalendarItem;

            if (item != null)
            {
                if (item.IsDragging)
                {
                    e.TextColor = Color.FromArgb(120, e.TextColor);
                }
            }

            base.OnDrawItemText(e);
        }
Beispiel #2
0
 /// <summary>
 /// Creates a newCalendarItemEventArgs
 /// </summary>
 /// <param name="item">Related Item</param>
 public CalendarItemCancelEventArgs(CalendarItem item)
 {
     _item = item;
 }
Beispiel #3
0
 /// <summary>
 /// Creates a newCalendarItemEventArgs
 /// </summary>
 /// <param name="item">Related Item</param>
 public CalendarItemEventArgs(CalendarItem item)
 {
     _item = item;
 }