I need add tooltip for each slide image. How can I do this?
1 Answer, 1 is accepted
0
Miroslav Nedyalkov
Telerik team
answered on 29 Jul 2009, 09:55 AM
Hi James,
If you define your items statically you can just set the ToolTipService.ToolTip attached property directly to the container (if you use directly images you can replace them with RadCoverFlowPerspectiveItems and set the property on them).
If your items come as ItemsSource you could set this attached property through the ItemContainerStyle property of the CoverFlow like this:
Unfortunately, Silverlight doesn't support binding in the style like WPF and because of that you can use this code only for a static ToolTip.
If you need to bind your tooltip to some data you need to do something more complex. I would recommend you to implement attached behavior that will create the binding.