Embedded viewer tooltips not appearing

Stimulsoft Reports.WPF discussion
Post Reply
jmiller
Posts: 91
Joined: Mon Sep 20, 2010 12:18 pm

Embedded viewer tooltips not appearing

Post 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?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Embedded viewer tooltips not appearing

Post 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.
jmiller
Posts: 91
Joined: Mon Sep 20, 2010 12:18 pm

Re: Embedded viewer tooltips not appearing

Post 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>-->
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Embedded viewer tooltips not appearing

Post 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.
Post Reply