What is ItemTemplate in List box in WPF? How to declare it?
For example:
ItemTemplate="{StaticResource myTaskTemplate}What is myTaskTemplate here?
ItemTemplate="{StaticResource myTaskTemplate}What is myTaskTemplate here?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pradeep ShetPosted Jan 15, 2015, 2:02 AM
ItemTemplate is a container so it cannot be set as a property.
Eg-
Hope this helped you.
Piyush PansuriyaPosted Jan 1, 2015, 5:17 AM
Example of ItemTemplate in WPF :
Here you can add multiple control in Item Template.
in ItemTemplate="{StaticResource myTaskTemplate}, "myTaskTemplate" is a static class in solution.