Modify DragResize Visual Cue

3 posts, 0 answers
  1. Justin Lee
    Justin Lee avatar
    170 posts
    Member since:
    Dec 2009

    Posted 06 Feb 2014 Link to this post

    I'm trying to modify the content displayed in the tooltip when you are dragging or resizing an event in the gantt.

    Here is what I've added, but it doesn't have any affect.

    <Style TargetType="gantt:GanttDragResizeVisualCue">
          <Setter Property="Template">
                  <ControlTemplate TargetType="gantt:GanttDragResizeVisualCue">
                          <TextBlock Text="Hello world!" />
  2. Ildar
    Ildar avatar
    1 posts
    Member since:
    Apr 2011

    Posted 11 Feb 2014 in reply to Justin Lee Link to this post

    I have the same problem
  3. Polya
    Polya avatar
    267 posts

    Posted 11 Feb 2014 Link to this post


    Justin Lee is on the right direction - the style we need to modify in order to change the content displayed in the tool tip when dragging or resizing an event in the RadGanttView is the GanttDragResizeVisualCueStyle. However in order to achieve this we need to change the DragTemplate and the ResizeTemplate of this style.

    Please find attached a sample project demonstrating this customizations. What I did is to modify these templates and style to display only the Title of a GanttTask when dragging or resizing. Please note that this project uses implicit styles.

    Hopefully this helps. Should you have any other problems or concerns do not hesitate to contact us again.


    Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

Back to Top