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

Create tooltip structure

2 Answers 58 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Fabiana
Top achievements
Rank 1
Fabiana asked on 18 Aug 2010, 12:16 PM
Hello!

I have a RadGridView, with a lot og rows/columns. But in a specific column, I inserted tooltip information, with the Item path.
 "Path" is a LIst of object ( Root(centers) and Items) .
Is there a way to create tooltip as my image example, with different images, and hierarquical structure? Please, can you send me a example?
Thank you very much!




<telerik:GridViewColumn  x:Name="RadColumnItem" Header="Item" Width = "*" IsReadOnly="True" CellTemplate="{StaticResource ItemTemplate}">
                        <telerik:GridViewColumn.ToolTipTemplate>
                            <DataTemplate>
                                <TextBlock Tag="{Binding Path}" Loaded="toolTip_Loaded" />
                            </DataTemplate>
                        </telerik:GridViewColumn.ToolTipTemplate>
</telerik:GridViewColumn>



___

 private void toolTip_Loaded(object sender, RoutedEventArgs e)
        {

             //???
            List<MyMembers> MyElements;
            MyElements = new List<MyMembers>();
            MyElements = ((TextBlock)sender).Tag;


        }

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 18 Aug 2010, 01:46 PM
Hello,

I'm not sure how this question is related to RadGridView - can you clarify?

Kind regards,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Fabiana
Top achievements
Rank 1
answered on 18 Aug 2010, 01:59 PM
I would like to show a tooltip structure data ( as my image) in each RadGridView cell.
Tags
GridView
Asked by
Fabiana
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Fabiana
Top achievements
Rank 1
Share this question
or