[英]Changing the position of a content of a button C# WPF
这是我的按钮。 如何在不改变高度的情况下使内容更高?
您需要从top
指定negative value for padding
(根据您的要求选择值) -
<Button Content="I want this to be higher" Padding="0,-3,0,0"/>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.