I am using a Hyperlink element that contains a TextBlock control such as...
<Hyperlink>
<TextBlock />
</Hyperlink>
What I need is to be able to style the rollOver state and have it underline all the text in the TextBlock, even if the text wraps. Currently it places a line beneath the entire text and not the all of the individual lines. See the photo below...
http://thewpfblog.com/images/hyperlink.gif
Any ideas
Lee

Styling a Hyperlink???
joekung
aybe
<Figure Width="100" >
<Paragraph>
<Hyperlink>
What I need is to be able to style the rollOver state and have it underline all the
</Hyperlink>
</Paragraph>
</Figure>
</Paragraph>
tyler2424
Andrew Fry
Seems like this have to be a custom button. Thanks anyway,
Lee
jccondor
William Vaughn
how about
<
TextBlock><
Hyperlink><
TextBlock Width="100" TextWrapping="wrap"><
Underline>What I need is to be able to style the rollOver state and have it underline all the</Underline></
TextBlock></
Hyperlink></
TextBlock>Sumit_Dagar_8eba6d
You could have something like this
<TextBlock Width="100" TextWrapping="wrap"><Underline>text</Underline> </TextBlock>
Belgarion2
ideal24293
looks like this is working
<
FlowDocumentReader><
FlowDocument><
Paragraph><
Figure Width="100" ><
Paragraph><
Hyperlink >What I need is to be able to style the rollOver state and have it underline all the
</
Hyperlink></
Paragraph></
Figure></
Paragraph></
FlowDocument></
FlowDocumentReader>