1
2
我建议使用模板而不是设置内容。
高温高压 |
2
0
我通过将ContentTemplate设置为DataTemplate来完成此操作:
Button:
Setting the Template on the Button works too, but I believe you have to replace the entire template for the control. This approach lets you keep the existing control template. |