Googling "wpf datatempalte tutorial" give following links. i would recommend #2
WPF DataTemplate Tutorials
-
22-06-2023 - |
سؤال
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!
المحلول
نصائح أخرى
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.
لا تنتمي إلى StackOverflow