0
如何在文本和图像按钮中添加多个内容? in blend 4 WPF C#混合4按钮中的多个内容WPF C#
如何在文本和图像按钮中添加多个内容? in blend 4 WPF C#混合4按钮中的多个内容WPF C#
您可以使用面板作为内容的Button
。
下面是与两个孩子,TextBlock
和Image
<Button Width="75" Height="100">
<StackPanel Orientation="Vertical">
<TextBlock Text="Some Text"/>
<Image Source="C:\C1.png" Stretch="Uniform"/>
</StackPanel>
</Button>
一个
StackPanel
为例