简体   繁体   中英

How to Set HorizontalContentAlignment in RibbonButton

In normal WPF Button control, HorizontalContentAlignment can set the Content of the Button the left. But in RibbonButton control, there is no Content, but replaced by Label , which cannot be aligned by HorizontalContentAlignment .

How to horizontal align Label of RibbonControl? Or, is that even possible?

RibbonButton中绝对有ContentHorizontalContentAlignment ,它继承自Button,只需检查MSDN文档即可

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM