<Button Name="s">
<Rectangle></Rectangle>
</Button>
请问怎么在后台动态添加要怎么写?
<Button Name="s">
<Rectangle></Rectangle>
</Button>
请问怎么在后台动态添加要怎么写?
没这么用过,不过我更建议你看看模版
https://docs.microsoft.com/en-us/dotnet/framework/wpf/controls/button-styles-and-templatesbutton style and templete 官方文档
看懂了想把button做成什么样都可以。