Blend 4 触发器渲染不起作用
我在 Blend 4 中遇到了一个非常令人沮丧的错误,当我编辑带有触发器的控制模板时,如果我切换到其中一个触发器,触发器更改不会显示在设计窗格中,就像我以某种方式关闭了触发器渲染
一样步骤
在 Visual Studio 2010 中创建新的 WPF 应用程序 在混合中打开新解决方案 将“SimpleButton”拖到设计图面上 右键单击按钮>编辑样式>编辑当前 在“触发器”选项卡上,选择任意触发器,设计视图中没有任何更改
此行为仅在以下情况下出现: 样式在资源字典中定义 该模板包含在一种样式中,即,没有
人知道任何解决方法或修复程序,我在我的家庭和工作机器上都得到它
Ive got a really frustrating bug going on with Blend 4, when i edit a control template with triggers, if i switch to one of the triggers, the trigger changes are not shown in the design pane, its like ive turned off trigger rendering somehow
Reproduction Steps
Create a new WPF application in visual studio 2010
Open new solution in blend
Drag a "SimpleButton" onto the design surface
Right click on the button>Edit Style>Edit Current
On the triggers tab, select any of the triggers and nothing changes in the design view
This behaviour only appears if
The style is defined in a resource dictionary
The template is contained within a style, ie , not
Does anyone know any workarounds or fixes for this, i get it on both my home and work machines
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我在表情论坛上得到了回复,他们已确认这是一个错误,这是回复
我在表达式论坛上的帖子:
http://social.expression.microsoft.com/Forums/en-US /blend/thread/0f6a1422-86e5-4a2e-ad72-1f273f8671dc?prof=必需
I got a reply on the expression forums, they have confirmed it as a bug, here's the reply
My post on the expression forums:
http://social.expression.microsoft.com/Forums/en-US/blend/thread/0f6a1422-86e5-4a2e-ad72-1f273f8671dc?prof=required
我遇到了完全相同的问题,我认为这是因为如果在 Visual Studio 中修改了文件,并且项目不是在表达式中构建的,我也会遇到同样的问题。我所做的是,关闭 Visual Studio,在 Expression Blend 中打开项目并在编辑模板之前构建项目。
另外,问题可能是源代码控制或团队系统,我确实注意到,如果文件未签出,则 Blend 无法正常工作,我在 Visual Studio 中签出了整个项目,然后我就能够在 Blend 中执行所有操作。
希望这两个中的任何一个都能解决您的问题。
I got exact same problem and I think it is because if the files were modified in Visual Studio and if the project was not build within the expression I used to get the same problem. What I did was, close Visual Studio, open Project in Expression Blend and build the project before editing template.
Also the problem could be source code control or team system, I did notice that if files werent checked out, blend didnt work correctly, I checked out entire project in Visual Studio then I was able to do everything in Blend.
Hope any of these two should solve your problem.