7

We are evaluating the use of WPF for an upcoming project. We plan to "commercialize" some of our internal tools and could really use some of the effects WPF offers. We also like the idea of the design layer and code layers being independent to allow concurrent work.

  1. Where can I find a simple UI built with WPF (XAML) that I can pull apart?

  2. What is the workflow if the designer is creating the UI and the developers are coding. What does the design staff give the developers (.XAML files? an assembly?)

4

3 回答 3

3

来自微软。

于 2009-04-30T02:04:56.857 回答
1

一个界面相对简单且设计良好的开源应用程序是crack.net。我用它终于理解了mvvm。

至于设计工作流程,这对您来说是一个更难回答的问题。你需要弄清楚什么对你和你的设计师有用。他们可以与您的开发人员在同一个 .proj 文件中工作,这非常方便。但是您可能希望将这些程序集分开以进行管理。

于 2009-04-30T02:33:45.463 回答
1

就工作流程而言。
我曾在一个有专门的 UI 设计师的团队工作。尽管他拥有 CS 学位,但他表示使用 Blend 会过多地分散 UI 设计的注意力。所以他仍然在做模型,一个开发人员在 Blend+VS+manual XAML 调整中翻译它。
此外,尽管有人声称,Blend 作为示例片段编辑器最有用,可以更好地理解 XAML。
在我当前的 WPF 项目中,我主要使用 Kaxaml,因为我安装 VS 时的 WPF 编辑器非常缓慢且不稳定。
这个想法是您的设计人员将为您生成 XAML,而开发人员只需向其中添加代码 - 对我们不起作用。老实说,我根本看不出它是如何工作的。由于 UI 中仍有许多内容需要针对表示层进行调整。
此外,任何 UI 技术都可以隔离在设计良好的系统中。而且我真的没有看到 WPF 的任何优势。尤其是 MS 如此热切地推动数据绑定。

于 2009-04-30T03:24:59.847 回答