Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - [SOLVED] MarkupHyperlink Foreground Hover Color
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] MarkupHyperlink Foreground Hover Color

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

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] MarkupHyperlink Foreground Hover Color
    Posted: 23 February 2010 at 2:59pm
Is there a way to set the hover color for a MarkupHyperlink object?

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
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 26 February 2010 at 6:56am
Hi,
 
Only if you don't afraid such markups :)
 
<Page xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'>
   
 <StackPanel TextElement.FontSize="20" Orientation="Horizontal" HorizontalAlignment="Center">
  <TextBlock VerticalAlignment="Center">
   <Hyperlink>
<Hyperlink.Style>
<Style TargetType="Hyperlink">
  <Style.Triggers>
   <Trigger Property="IsMouseOver" Value="True">
    <Trigger.Setters>
     <Setter Property="Foreground" Value="Orange"/>
    </Trigger.Setters>
   </Trigger>
  </Style.Triggers> 
</Style>
 </Hyperlink.Style>
Test1
</Hyperlink>
  </TextBlock>
 </StackPanel>
</Page>
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 26 February 2010 at 12:11pm
Thanks Oleg, I will use the markup strings (I was hoping for a way to use the MarkupHyperlink object, but it's no big deal).

Any plans to support Triggers with the MarkupObjects?
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.