Hi,
I'm trying to add a tooltip to a radProgressBar and I'm having some issues.
I did something like that but it doesn't work, it gives an empty tooltip :
<telerik:RadProgressBar>
<telerik:RadProgressBar.ToolTip>
<ToolTip Content="{Binding Path=DataContext.SomeProperty, ElementName=SomeParent}"/>
</telerik:RadProgressBar.ToolTip>
</telerik:RadProgressBar>
Same result for this :
<telerik:RadProgressBar telerik:RadToolTipService.ToolTipContent="{Binding Path=DataContext.SomeProperty, ElementName=SomeParent}"/>
The only way I've been able to have something interesting is by doing this :
<telerik:RadProgressBar ToolTip="{Binding Path=DataContext.SomeProperty, ElementName=SomeParent"/>
The problem is that I want to use ContentStringFormat and do something like this :
<telerik:RadProgressBar>
<telerik:RadProgressBar.ToolTip>
<ToolTip Content="{Binding Path=DataContext.SomeProperty, ElementName=SomeParent}" ContentStringFormat="{}{0:P2}"/>
</telerik:RadProgressBar.ToolTip>
</telerik:RadProgressBar>
Am I doing somthing wrong or there is a bug with tooltip ?
Thank you,
Etienne
I'm trying to add a tooltip to a radProgressBar and I'm having some issues.
I did something like that but it doesn't work, it gives an empty tooltip :
<telerik:RadProgressBar>
<telerik:RadProgressBar.ToolTip>
<ToolTip Content="{Binding Path=DataContext.SomeProperty, ElementName=SomeParent}"/>
</telerik:RadProgressBar.ToolTip>
</telerik:RadProgressBar>
Same result for this :
<telerik:RadProgressBar telerik:RadToolTipService.ToolTipContent="{Binding Path=DataContext.SomeProperty, ElementName=SomeParent}"/>
The only way I've been able to have something interesting is by doing this :
<telerik:RadProgressBar ToolTip="{Binding Path=DataContext.SomeProperty, ElementName=SomeParent"/>
The problem is that I want to use ContentStringFormat and do something like this :
<telerik:RadProgressBar>
<telerik:RadProgressBar.ToolTip>
<ToolTip Content="{Binding Path=DataContext.SomeProperty, ElementName=SomeParent}" ContentStringFormat="{}{0:P2}"/>
</telerik:RadProgressBar.ToolTip>
</telerik:RadProgressBar>
Am I doing somthing wrong or there is a bug with tooltip ?
Thank you,
Etienne