Expression Blend正在更改HorizontalAlignment属性 [英] Expression Blend is changing the HorizontalAlignment property
问题描述
使用键盘或鼠标移动TextBlock对象时,Expression Blend 4正在更改HorizontalAlignment和/ VerticalAlignment。例如,如果我拖动/移动 一个TextBlock,鼠标从设计区域的左侧到右侧,HorizontalAlignment
将从"left"变为"left"。到"正确"。可以阻止吗?除非我手动更改它,否则我不希望更改HorizontalAlignmentto。
谢谢。
不幸的是,在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正在更改HorizontalAlignment属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!