Creating a Silverlight DataTemplate in code

前端 未结 4 1597
被撕碎了的回忆
被撕碎了的回忆 2020-11-29 08:08

How do I create a silverlight data template in code? I\'ve seen plenty of examples for WPF, but nothing for Silverlight.

Edit: Here\'s the code I\'m now using this f

4条回答
  •  被撕碎了的回忆
    2020-11-29 08:46

    citation from MSDN:

    The XAML usage that defines the content for creating a data template is not exposed as a settable property. It is special behavior built into the XAML processing of a DataTemplate object element.

提交回复
热议问题