I have a Silverlight menu for my application with a background image. I use the empty HyperlinkButton pool in a certain position and size to simulate a real button on an image (think of it as an image in the form of an HTML map):
<HyperlinkButton x:Name="Portfolio" Width="86" Height="40" Canvas.Top="50" NavigateUri="/portfolio"/> <HyperlinkButton x:Name="Analysis" Width="79" Height="40" Canvas.Top="50" Canvas.Left="124" NavigateUri="/analysis" BorderThickness="0"/> <HyperlinkButton x:Name="News" Width="77" Height="40" Canvas.Top="50" Canvas.Left="240" NavigateUri="/news"/> <HyperlinkButton x:Name="Questions" Width="80" Height="40" Canvas.Top="50" Canvas.Left="357" NavigateUri="/questions"/> <HyperlinkButton x:Name="Companies" Width="80" Height="40" Canvas.Top="50" Canvas.Left="477" NavigateUri="/companies"/>
The problem is that when I click these buttons, it shows a blue border corresponding to the area of ββthe hyperlink button during the click event. Is there any way to avoid this?
hyperlink silverlight
Edwin jarvis
source share