This is a migrated thread and some comments may be shown as answers.

Tooltip for tree columns and tasks

1 Answer 87 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Anne Lyon
Top achievements
Rank 1
Anne Lyon asked on 14 Jan 2013, 09:48 AM
Hi!

I have tried to attach a customized tooltip to both SummaryContainer,  EventContainer and TreeCellContainer (if this is the one that corresponds to the treeColumnDefinition). But the tooltip does not appear, only the default one comes up, where there already exists one.

My code is as follows (SummaryContainer used as an example):
<Style TargetType="telerik:SummaryContainer" BasedOn="{StaticResource SummaryContainerStyle}">
    <telerik:ToolTipManager.ToolTip>
        <ToolTip>
            <StackPanel Orientation="Horizontal">
                <TextBlock Text="My tootip" />
            </StackPanel>
        </ToolTip>
    </telerik:ToolTipManager.ToolTip>
</Style>

What am I doing wrong? How do I attach my own tooltip to summary-tasks, events and treeView columns (and preferably only child tasks entries).
Anne

1 Answer, 1 is accepted

Sort by
0
Masha
Telerik team
answered on 15 Jan 2013, 09:20 AM
Hi Anne,

We have already answered to your question in this forum thread.

In order to apply modifications on Tooltip inside EventContainer, you should modify tooltip inside EventContainerTemplate control template.

TreeCellContainer uses GanttDragReorderTemplateTemplate which is called by CueTemplateSelector property of GanttDragResizeVisualCueStyle.

Please feel free to contact us again if you have any questions.

All the best,
Maria
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GanttView
Asked by
Anne Lyon
Top achievements
Rank 1
Answers by
Masha
Telerik team
Share this question
or