protected override void OnStarting(RadServiceStartingEventArgs e)
        {
            GanttGraphicalViewBaseTaskElement context = e.Context as GanttGraphicalViewBaseTaskElement;

            if (context != null)
            {
                this.location    = context.PointToScreen(context.Location);
                this.location.Y += context.Size.Height / 2;
            }
            base.OnStarting(e);
        }
Beispiel #2
0
        private void ItemDragService_Starting(object sender, RadServiceStartingEventArgs e)
        {
            RadDragDropService service = sender as RadDragDropService;

            ShowEventMessage((e.Context as RadPageViewItem).Text, "ItemDragService.Starting");
        }