Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当扩展器向下扩展时,内容和标题是左对齐的,因此它实际上是向下/向右扩展。是否可以使其向下/向右扩展,以便标题和内容右对齐?
我不想在扩展时移动标题。标题应该留在原处。
谢谢
HorizontalAlignment将and更改HorizontalContentAlignment为 Right 以进行向下+向左扩展。
HorizontalAlignment
HorizontalContentAlignment
要对齐右侧的标题和箭头,您需要为其创作一个新的控件模板,或复制现有的 blend。