2012-08-05 74 views

回答

0

像这样的事情会非常接近

<Button HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20" Background="Black"> 
      <Button.Content> 
       <Border BorderThickness="3" BorderBrush="White" Margin="5"> 
       <StackPanel> 
        <TextBlock FontWeight="Bold" Foreground="White" Margin="3">primary text</TextBlock> 
         <TextBlock Foreground="LightGray" 
            Margin="3">Lorem ipsum dolor sit amet</TextBlock> 
       </StackPanel> 
       </Border> 
      </Button.Content> 
     </Button> 

enter image description here

+0

谢谢!这对我有帮助:) – 2012-08-05 21:49:58

0
<Button> 
    <StackPanel> 
     <TextBlock Text="primary text" /> 
     <TextBlock Text="Lorem ipsum..." /> 
    </StackPanel> 
</Button>