WEB开发网
开发学院图形图像Flash Silverlight(4) - 2.0控件之DataGrid, DatePicker... 阅读

Silverlight(4) - 2.0控件之DataGrid, DatePicker, Grid, GridSplitter, HyperlinkButton, Image

 2008-11-14 11:50:51 来源:WEB开发网   
核心提示: 5、HyperlinkButton.xaml<UserControl x:Class="Silverlight20.Control.HyperlinkButton"xmlns="http://schemas.microsoft.com/winfx/200

5、HyperlinkButton.xaml

<UserControl x:Class="Silverlight20.Control.HyperlinkButton"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <StackPanel HorizontalAlignment="Left">
  
    <!--
    NavigateUri - 超级链接的目标地址
    TargetName - 目标名
    -->
    <HyperlinkButton Content="http://webabcd.cnblogs.com" NavigateUri="http://webabcd.cnblogs.com/" HorizontalContentAlignment="Center" TargetName="_blank" Background="Black" Foreground="White" Margin="5" Width="200" />
  
    <!--
    HyperlinkButton.Content - 超级链接所显示的内容
    -->
    <HyperlinkButton NavigateUri="http://webabcd.cnblogs.com/" TargetName="_blank" Margin="5" Width="200">
      <HyperlinkButton.Content>
        <Image Source="/Silverlight20;component/Images/Logo.jpg" />
      </HyperlinkButton.Content>
    </HyperlinkButton>
  
  </StackPanel>
</UserControl>

上一页  1 2 3 4 5  下一页

Tags:Silverlight 控件 DataGrid

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接