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中绝对有Content
和HorizontalContentAlignment
,它继承自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.