Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > MarkupLabel Control
  New Posts New Posts RSS Feed - Remove underline from Image in Hyperlink
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Remove underline from Image in Hyperlink

 Post Reply Post Reply
Author
Message
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1335
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Topic: Remove underline from Image in Hyperlink
    Posted: 05 March 2012 at 10:57am
Is it possible to remove the underline from an image in a hyperlink?

Example markup:

<TextBlock><Hyperlink><Image Source='file://Blue Lace 16.bmp'/> This is a link</Hyperlink></TextBlock>


Thanks for any help.
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1335
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 05 March 2012 at 11:09am
This works - I missed it because TextDecorations='None' doesn't work (just leave the attribute empty to disable underlines).


<TextBlock><Hyperlink><Span TextDecorations=''><Image Source='file://Blue Lace 16.bmp'/></Span> This is a link</Hyperlink></TextBlock>


Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

Back to Top
Jebo View Drop Down
Senior Member
Senior Member


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2014 at 7:36am
Fantastic! THX!!!
[Sig removed by Admin: Signature can't exceed 40GB]
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.078 seconds.