更改按钮C#WPF内容的位置

时间:2013-12-01 14:33:29

标签: c# wpf wpf-controls

enter image description here

这是我的按钮。如何在不改变高度的情况下使内容更高?

1 个答案:

答案 0 :(得分:2)

您需要从negative value for padding指定top(根据您的要求选择值) -

<Button Content="I want this to be higher" Padding="0,-3,0,0"/>