问题描述:

What is best way to create a button like this?

Button contains action and description...

网友答案:

Something like this will come very close

 <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>

gives

网友答案:
<Button>
    <StackPanel>
        <TextBlock Text="primary text" />
        <TextBlock Text="Lorem ipsum..." />
    </StackPanel>
</Button>
相关阅读:
Top