Define a DataTemplate in XAML?
<p>Is it possible to define a DataTemplate in a XAML file and use it in code?</p>

<p>According to this answer:
<a href="https://stackoverflow.com/questions/5530959/silverlight-creating-a-datatemplate-in-xaml-and-assigning-it-in-code">Silverlight: Creating a DataTemplate in XAML, and assigning it in code?</a></p>

<p>I can define it and add it to Resources dictionary in App.xaml, but I don't have an App.xaml file in my PCL project.</p>

<p>It sounds like a trivial thing, there has to be a standard way to do this.</p>

<p>You can find an example of a DataTemplate <a href="https://stackoverflow.com/questions/ask">here</a></p>