Exemplo n.º 1
0
        public override void OnDrawItemText(CalendarRendererBoxEventArgs e)
        {
            CalendarItem item = e.Tag as CalendarItem;

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

            base.OnDrawItemText(e);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new <see cref="CalendarItemEventArgs"/>
 /// </summary>
 /// <param name="item">Related Item</param>
 public CalendarItemCancelEventArgs(CalendarItem item)
 {
     _item = item;
 }
 /// <summary>
 /// Creates a new <see cref="CalendarItemEventArgs"/>
 /// </summary>
 /// <param name="item">Related Item</param>
 public CalendarItemEventArgs(CalendarItem item)
 {
     _item = item;
 }