WPF summing up

Personal recommendations have steps to get started:

As a simple example too, a similar house built, in fact, of course, be very thin, corresponding to the following:

Prior to this, we need to know yes.

  • WPF project is how to start
  • Xaml is how to structure the composition, method of control defines a reference name.

Know how to write code in Xaml, although before that, many seasoned developers also found Winform, open the Toolbox, WPF like winform controls are still the same support drag over to a location, then the code in Xaml in,
will generate the corresponding code, the same pressing F4 exhibit many properties, by setting, WYSIWYG, double-click button similar to normal, the same event code may be generated in the background.

Winform WPF compatible with the original development mode, event model, possible only difference is that the definition of this type of event and attribute names a little different, so you need to understand.
But I do not recommend to drag the toolbox to build direct way applications are mainly in the hands Xaml enter, write Hmtl a similar manner, as in the development of late, this will be your main way of development, must first adaptation, habits.

Many beginners have encountered problems

- 1. 最开始无从下手,但是由于不太熟练, 也没有合适得样例, 来让你进行尝试。
- 2. 心里没有底, 不知道到底是到哪种程度了, 就能够满足基础得开发 (大部分书籍都是1000+页) 如果要从头看下去, 那是不太可能得, 然后就放弃了。
- 3. 没有人引导你学习, 由于都是碎片化得学习, 无法掌握融合得技巧, 做不出东西感觉好像和Winform差不多, 导致半途而废, 甚至还想继续用Winform。

Novice reference method

- 1. 把winform原有的东西, 用WPF来进行一次一次还原, 这样, 不仅仅让你变得熟练, 还能直观的感受到两种的区别及优劣性, 一旦让你产生了 “卧槽,牛逼”。 那么接下来的工作就会变得很轻松了。
- 2. 先了解, 学习哪些东西, 可以快速让你进行项目开发, 这样, 在实践中, 出现问题, 再针对问题进行解决, 这样后期会发现, 无形之中, 你就掌握了这种技巧。
- 3. 在没人引导如何学习的情况下, 参考一些其他的软件界面, 然后自己尝试实现, 从布局、样式、一些触发器、动画一步一步进行。

Some database allows you to quickly learn:

- 1. WPF编程宝典.pdf   (书的内容比较全, 建议可以选择跳过性的阅读 , 不懂得地方再翻)
- 2. 深入浅出.pdf           (主要以实例为主)

Guess you like

Origin www.cnblogs.com/zh7791/p/11502696.html