Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

A little bit of imagination (TextDecorations)

$
0
0

Hi there,

This is one image with one HyperLink in order to use ICommand interface (simulating a button):

<TextBlock DockPanel.Dock="Top"><Hyperlink Command="New"><Image Source="/Imagenes/new.png" Name="Nuevo_Registro" Opacity="0.3" Width="32" Margin="6"

ToolTip="{Resx LabelNuevoRegistro}" /></Hyperlink></TextBlock>

Using this style in order to drop off the below line:

<Style x:Key="{x:Type Hyperlink}" TargetType="Hyperlink"><Setter Property="TextDecorations"
           Value="{x:Null}" /></Style>

And..causing that my ToolTip doesn't appear..

ToolTip="{Resx LabelNuevoRegistro}"

suppose that VS consider ToolTip like just TextDecorations stuff...

Any ideas??


Primary platform is Windows 7 Ultimate 64 bit along with VS 2012/Sql2k8 for WPF and SilverLight stuff



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>