WPF DataTemplate Tutorials

喜欢而已 提交于 2019-12-02 02:29:13

问题


I am stuck in how to use DataTamplete in WPF, someone knows some tutorial or has a colection of turorials that teach how to use it??

I'm using MVVM Pattern, so if you know a tutorial in mvvm examples it will be better. ;)

Tks!


回答1:


Googling "wpf datatempalte tutorial" give following links. i would recommend #2

  1. Data Templating Overview - MSDN - Microsoft
  2. WPF Tutorial | Data Templates
  3. A Guided Tour of WPF – Part 4 (Data templates and triggers...



回答2:


MSDN explains it well MSDN Data Templating Overview

Things to watch out for are that your itemsource is set correctly and that the properties you are binding to are public.



来源:https://stackoverflow.com/questions/22688068/wpf-datatemplate-tutorials

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!