Own DataTemplate

Dec 17, 2010 at 10:44 AM

Hi,

how i can implement my DataTemplate for specific UserControl like this?

<DataTemplate xmlns="schemas.microsoft.com/.../presentation">  

<DockPanel LastChildFill="True">

<Label DockPanel.Dock="Top">head</Label>

<Label  DockPanel.Dock="Bottom">foot</Label>

<ContentControl cal:View.Model="{Binding}" />

</DockPanel>

</DataTemplate>

 

Best regards

Petr