WPF窗口的运行时视图与Expression Blend的设计视图不匹配 [英] Run time View of WPF Window doesn't match the Design View of Expression Blend

查看:105
本文介绍了WPF窗口的运行时视图与Expression Blend的设计视图不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面是这个问题,我知道Visual Studio 2008不能准确地渲染在Expression Blend上进行的设计.我的另一个问题是,窗口视图"与Blend上显示的设计"不匹配.我正在使用Expression Blend 2.0和Visual Studio 2008(.NET 3.5).这可能与它有关吗?

Following on from this question, I understand that Visual Studio 2008 doesn't accurately render Designs made on Expression Blend. The additional problem I have is, the View of the Window doesn't match with the Design shown on Blend. I am using Expression Blend 2.0, and Visual Studio 2008(.NET 3.5). Could this have something to do with it?

设计非常简单,只是一些按钮彼此相邻放置.我了解没有XAML代码,很难解决确切的问题,我只想知道解决这种差异的策略.

The design is very simple, just some buttons placed next to each other. I understand without the XAML code, it would be difficult to address the exact problem, I just want to know the strategy to tackle such difference.

推荐答案

在上一个问题中,您没有提到您使用的是Blend 2.0版本.那是一个非常旧的版本.这类似于想要编写.NET 4代码并且仅安装VS2003.如果您使用的是VS2008,则应使用Blend 3;否则,请使用Blend 3.如果您使用的是VS2010,请使用Blend4.版本不匹配可能是问题的一部分.我需要查看代码(.xaml和.xaml.cs)来找出其余的代码.

In your previous question, you failed to mention you were using version 2.0 of Blend. That's a terribly old version. It's akin to wanting to write .NET 4 code and having only VS2003 installed. If you're using VS2008, you should use Blend 3; if you're using VS2010, use Blend 4. The version mismatch is probably part of your issue. I'd need to see code (both .xaml and .xaml.cs) to figure out the rest.

这篇关于WPF窗口的运行时视图与Expression Blend的设计视图不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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