Print Page | Close Window

[SOLVED] MarkupHyperlink Foreground Hover Color

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=16259
Printed Date: 23 November 2024 at 9:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] MarkupHyperlink Foreground Hover Color
Posted By: jpbro
Subject: [SOLVED] MarkupHyperlink Foreground Hover Color
Date 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




Replies:
Posted By: Oleg
Date 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


Posted By: jpbro
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net