表达混合改变对齐方式

发布于 2024-09-08 09:34:19 字数 108 浏览 0 评论 0原文

当使用键盘或鼠标移动 TextBlock 对象时,Expression Blend 4 会更改 Horizo​​ntalAlignment 和/或 VerticalAlignment。这怎么能被阻止呢?

Expression Blend 4 is changing the HorizontalAlignment and or VerticalAlignment when moving TextBlock objects with the keyboard or mouse. How can this be blocked?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

无戏配角 2024-09-15 09:34:19

我认为这是不可能的。它是一个可视化编辑器,它将根据执行更改后视图的外观生成代码。它将根据其理解创建与您创建的布局相匹配的最佳代码。

I don't think it can be done. Its a visual editor, it will generate code depending on how the view looks after you're performed changes. It will create the best code that will match the layout you created based on what it understands.

毁虫ゝ 2024-09-15 09:34:19

这样做的时候很痛苦..
进入 XAML 视图,在您确信一切都在正确的位置并且尺寸正确后,只需更改对齐方式和边距即可手动修改它。

It's a pain when it does that..
Go into the XAML view, and modify it by hand after you're happy everything is the right place and is the correct size, by just changing the Alignments and margins.

坏尐絯℡ 2024-09-15 09:34:19

如果单击该对象,您会注意到引导条从该对象垂直和水平移动。在这些的最后,您会看到一些“链环”图标。您可以在任一端单击打开和关闭这些按钮来切换对齐方式。

If you click the object, you will notice guide bars traveling vertically and horizontally from the object. At the end of these you will see little "chain link" icons. You can click these on and off at either end to toggle the alignment.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文