右侧的扩展器按钮:该怎么做? [英] Expander button on the right side: how to do it?

查看:116
本文介绍了右侧的扩展器按钮:该怎么做?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将扩展器"按钮放置在标签的右侧.该怎么做?

i want to position the Expander button on the right side of the label. How to do this?

推荐答案

您也可以将FlowDirection设置为RightToLeft,但这可能会导致其他问题.例如,它还会更改扩展器内容的流向,因此您可能需要将其重新设置.

You can also set the FlowDirection to RightToLeft, but that may cause other problems. For example it also changes the flow direction for the content of the expander so you may need to set it back.

<Expander FlowDirection="RightToLeft">
     <StackPanel FlowDirection="LeftToRight">
     </StackPanel>
</Expander>

这篇关于右侧的扩展器按钮:该怎么做?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆