Silverlight 4: ToolTipService
Posted
by xscape
on Stack Overflow
See other posts from Stack Overflow
or by xscape
Published on 2010-06-10T08:21:03Z
Indexed on
2010/06/10
8:42 UTC
Read the original article
Hit count: 361
I can't scroll to my scrollviewer, it disappear when I move the mouse. Was it because it was just a tooltip? If yes, is there a way to scroll the text in my tooltip?
<TextBlock TextWrapping="Wrap" Style="{StaticResource TextBlockWidthStyle}"
Text="{Binding ExtendedDescription}"
TextTrimming="WordEllipsis">
<ToolTipService.ToolTip>
<ScrollViewer Width="310" VerticalScrollBarVisibility="Auto">
<TextBlock Text="{Binding ExtendedDescription}"
Width="300"
TextWrapping="Wrap"/>
</ScrollViewer>
</ToolTipService.ToolTip>
</TextBlock>
© Stack Overflow or respective owner