Expression Blend正在更改Horizo​​ntalAlignment属性 [英] Expression Blend is changing the HorizontalAlignment property

查看:74
本文介绍了Expression Blend正在更改Horizo​​ntalAlignment属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用键盘或鼠标移动TextBlock对象时,Expression Blend 4正在更改Horizo​​ntalAlignment和/ VerticalAlignment。例如,如果我拖动/移动 一个TextBlock,鼠标从设计区域的左侧到右侧,Horizo​​ntalAlignment
将从"left"变为"left"。到"正确"。可以阻止吗?除非我手动更改它,否则我不希望更改Horizo​​ntalAlignmentto。


谢谢。

解决方案

不幸的是,在Panel中拖动控件时设置的属性的行为是不可自定义的。


谢谢,

Unni


Expression Blend 4 is changing the HorizontalAlignment and or VerticalAlignment when moving TextBlock objects with the keyboard or mouse. For example, if I drag/move  a TextBlock with the mouse from the left side of the design area to the righ the HorizontalAlignment will change from "left" to "right". Can this be blocked? I don't want the HorizontalAlignmentto to change unless I manually change it.

Thanks.

解决方案

Unfortunately, the behavior of properties being set when you drag controls around in a Panel is not customizable.

Thanks,
Unni


这篇关于Expression Blend正在更改Horizo​​ntalAlignment属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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