Hi
Can any one tell me What is Data Template in Silverlight and what is the purpose and where use .....?
Data Template
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Sep 24, 2011, 12:48 AM EDT
Please refer the below link
http://www.codeproject.com/KB/silverlight/HierarchicalDataTemplate.aspx
http://msdn.microsoft.com/en-us/library/system.windows.datatemplate%28v=vs.95%29.aspx
Thanks
If this post helps you mark it as answer
Smart LuckyRank #2,625 · 531 reputationPosted Sep 24, 2011, 1:03 AM EDT
I have follow
http://msdn.microsoft.com/en-us/library/system.windows.datatemplate%28v=vs.95%29.aspx
this link
and in this link i am as it as writing program it show me error... how can i solve it...?
Error1'src' is an undeclared prefix. Line 11, position 14.
Priya LingeRank #785 · 2.9K reputationPosted Sep 25, 2011, 8:46 PM EDT
DataTemplate Class :Describes the visual structure of a data object.
public class DataTemplate : FrameworkTemplate
You typically use a DataTemplate to specify the visual representation of your data. DataTemplate objects are particularly useful when you are binding an ItemsControl such as
a ListBox to an entire collection.
templateContent
Example :
Please attached file for more information about DataTemplete.