
thomas kuang
Top achievements
Rank 1
thomas kuang
asked on 27 Sep 2010, 09:38 AM
Please look the attach files.Thanks.
3 Answers, 1 is accepted
0
Hello Thomas,
You can use WPF's ToolTip class. The scenarios you can use the tooltip are many, so I've attached a sample project demonstrating one of the possible usages. Have a look at it and let me know if you need further assistance regarding this topic.
Sincerely yours,
Kiril Stanoev
the Telerik team
You can use WPF's ToolTip class. The scenarios you can use the tooltip are many, so I've attached a sample project demonstrating one of the possible usages. Have a look at it and let me know if you need further assistance regarding this topic.
Sincerely yours,
Kiril Stanoev
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

thomas kuang
Top achievements
Rank 1
answered on 30 Sep 2010, 02:37 AM
thanks Kiril Stanoev ,
but i have problem.you should look the attach files.you will understand.The tip information location not like tooltip tip information location. and the tip information will show when the treeview item header not all display,just display part.Do you understand? I'm sorry! my english is bad.I'm a Chinese.
but i have problem.you should look the attach files.you will understand.The tip information location not like tooltip tip information location. and the tip information will show when the treeview item header not all display,just display part.Do you understand? I'm sorry! my english is bad.I'm a Chinese.
0
Hi thomas kuang,
Thank you for the clarification. In order to display the tooltip only when the RadTreeViewItem is cropped you can implement the following:
We modified the project to implement this approach. Take a look at it and let me know if it works for you.
Sincerely yours,
Tina Stancheva
the Telerik team
Thank you for the clarification. In order to display the tooltip only when the RadTreeViewItem is cropped you can implement the following:
if
(parentTreeViewItem.DesiredSize.Width == parentTreeViewItem.ActualWidth)
{
parentTreeViewItem.ToolTip = ((parentTreeViewItem.Header
as
StackPanel).Children[1]
as
TextBlock).Text;
}
We modified the project to implement this approach. Take a look at it and let me know if it works for you.
Sincerely yours,
Tina Stancheva
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