HyperlinkButton and Url : HyperlinkButton « UI Controls « Silverlight






HyperlinkButton and Url

HyperlinkButton and Url
   

<UserControl x:Class='SilverlightApplication3.MainPage'
    xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' 
    xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'
    xmlns:d='http://schemas.microsoft.com/expression/blend/2008' 
    xmlns:mc='http://schemas.openxmlformats.org/markup-compatibility/2006' 
    mc:Ignorable='d' 
    d:DesignWidth='640' 
    d:DesignHeight='480'>

        <Canvas Grid.Column="1">
            <TextBlock Canvas.Left="100" Text="HyperlinkButton"></TextBlock>
            <HyperlinkButton x:Name="hyperlinkButton" Canvas.Left="45" Canvas.Top="20" Width="200" Content="Click to visit Silverlight website" NavigateUri="http://www.silverlight.net" TargetName="_blank"/>
        </Canvas>

        
</UserControl>

   
    
    
  








Related examples in the same category

1.Use HyperlinkButton do the url navigation
2.A HyperlinkButton in actionA HyperlinkButton in action