Page 1 of 1

Embedded viewer tooltips not appearing

Posted: Thu Aug 23, 2012 12:55 pm
by jmiller
I have a WPF application in which Stimulsoft based reports are viewed in the Stimulsoft viewer control. We have it so that it shows just a toolbar and not a ribbon. However, the tooltips are not appearing when hovering over any of the toolbar icons. A small tooltip box appears but there is no text in it. Any suggestions on where I should investigate?

Re: Embedded viewer tooltips not appearing

Posted: Fri Aug 24, 2012 11:01 am
by HighAley
Hello.
jmiller wrote:I have a WPF application in which Stimulsoft based reports are viewed in the Stimulsoft viewer control. We have it so that it shows just a toolbar and not a ribbon. However, the tooltips are not appearing when hovering over any of the toolbar icons. A small tooltip box appears but there is no text in it. Any suggestions on where I should investigate?
We couldn't reproduce your issue.
Which version do you use?
Could you send us a sample project which reproduces the issue.

Thank you.

Re: Embedded viewer tooltips not appearing

Posted: Fri Aug 24, 2012 6:58 pm
by jmiller
I think I found the problem although I am still trying to work on solution. My application has a style that I guess replaces the normal tooltip style. When I tool this style out and re-built the application, then the tooltip appears. Here is our style that was used if it provides any guidance (which I have commented out). All I can think of is that the Stimulsoft tooltips appear to be Rich Text or equivalent since I see combination of bold and normal in the tooltip. I am guessing this style we are using expects plain text (TextBlock???).
<!--<Style TargetType="{x:Type ToolTip}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ToolTip">
<Grid Margin="2">
<Border Name="PART_TooltipBorder"
Padding="2"
Margin="0"
BorderThickness="1"
CornerRadius="3"
BorderBrush="{DynamicResource ErrorValidationToolTipBorderBrush}"
Background="{DynamicResource ErrorValidationToolTipBackground}">
<Border.BitmapEffect>
<DropShadowBitmapEffect Color="Black"
Direction="315"
ShadowDepth="3"
Opacity="0.6"
Softness="0.2" />
</Border.BitmapEffect>
<TextBlock Text="{TemplateBinding Content}"
TextWrapping="WrapWithOverflow"
MaxWidth="200"
Margin="2,0,2,0"
VerticalAlignment="Center"
HorizontalAlignment="Center"
TextBlock.Foreground="{DynamicResource ToolTipForegroundBrush}" />
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>-->

Re: Embedded viewer tooltips not appearing

Posted: Mon Aug 27, 2012 5:43 am
by HighAley
Hello.

You could change tooltip style with this style. But it seems that you'd got a style conflict. To avoid it try to set the style name and specify this name in the style property of all tooltips.

Thank you.