共混物3 +的SketchFlow的错误还是设置的原因,请高手帮帮忙 [英] Blend3+SketchFlow的Bug还是设置的原因,请高手帮帮忙

查看:72
本文介绍了共混物3 +的SketchFlow的错误还是设置的原因,请高手帮帮忙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么我在设计视图里看到的各个控件的顺序是反的,比如在XAML里的顺序是< Canvas>< Button Name =" 1" /><< Button Name = " 2">< / Canvas>,但是在设计视图里对象和时间线那一栏中的这个顺序就变成了Button2在Button1上面。我如果点顺序 - >带到前面,从设计视图里看是可以Button1到Button2上面,但是XAML代码里的顺序就变成了< Canvas>< Button Name =" 2" />< Button Name =" 1" />< / Canvas>,这不是我想要的结果,我重装也不行啊?????(即:在"对象和时间线"中,对象的显示顺序错误!在xaml中是:< Canvas> <按钮名称=" 1" /><<<按钮名称=" 2" />< / Canvas>,但在设计视图中,"对象和时间"面板显示Button1上方的Button2)

为什么我在设计视图里看到的各个控件的顺序是反的,比如在XAML里的顺序是<Canvas><Button Name="1"/><<Button Name="2"/></Canvas>,但是在设计视图里Object and Timeline那一栏中的这个顺序就变成了Button2在Button1上面。我如果点Order->Bring To Front,从设计视图里看是可以Button1到Button2上面,但是XAML代码里的顺序就变成了<Canvas><Button Name="2"/><Button Name="1"/></Canvas>,这不是我想要的结果,我重装也不行啊?????(that is:In "Object and Timeline",the object's display order is wrong! in xaml is:<Canvas><Button Name="1"/><<Button Name="2"/></Canvas>,but in design view,"Object and Time"  panel display Button2 above Button1)

推荐答案

嗨宝强,

我假设你是什么问是:"为什么对象在XAML中按照正确的顺序排列(例如按钮1然后按钮2),但在对象和时间线窗格中,它是相反的方式?" br />在对象和时间轴窗格中,所有对象都根据树结构显示。每个子对象只能有一个父对象,而父对象可以有多个子对象。

当一个新的子对象被添加到父对象时,它将是最顶层的对象,因此如果你将一个Button 3添加到Canvas对象,它将是:
< Canvas> <按钮名称=" 1" /><按钮名称=" 2" /><按钮名称=" 3" />< /画布>

这样,对象和时间线窗格根据生成的XML和树结构显示对象,最底层的对象是最顶层的对象。如果您不习惯,可以通过单击对象和时间线窗格左下方的按钮轻松切换它。

希望这有帮助,欢呼
Hi Baoqiang,

I'm assuming what you are asking is:
"Why are objects arranged in a proper order in XAML (For example Button 1 then Button 2), but in the Objects and Timeline pane it is the other way around?"

In the objects and timeline pane, all objects are presented according to a Tree structure. Each children object can have only one parent object, and a parent object can have mutiple children object.

When a new children object is added to the parent object it will be the top most object, so if you add a Button 3 to the Canvas Object it will be:
<Canvas><Button Name="1"/><Button Name="2"/><Button Name="3"/></Canvas>

Thus, the objects and timeline pane presents the objects according to the generated XML and the Tree structure, and the bottom most object is the top most object. If you're not used to it you can easily toggle it by clicking on the button in the lower left of the objects and timeline pane.

Hope this helps, cheers


这篇关于共混物3 +的SketchFlow的错误还是设置的原因,请高手帮帮忙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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