[英]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.