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.
我有一个复选框,我希望将它的文本内容放在复选框控件上方。我看过一篇文章,其中文本放置在文本框的左侧,如此处所示,但我想知道是否有办法设置样式以获取复选框上方或下方显示的内容?
提前致谢
您可以使用与您链接的文章相同的技术。只需使用DockPanel.Dock="Bottom"而不是"Right"for BulletChrome。
DockPanel.Dock="Bottom"
"Right"
BulletChrome
您可能还想为 , 设置VerticalAlignment="Top"and 。HorizontalAlignment="Center"Content
VerticalAlignment="Top"
HorizontalAlignment="Center"
Content