Posted
on Jan 25, 2012
(permalink)
Ok, It goes on with:
<Setter Property="ContentTemplate">
<Setter.Value>
<DataTemplate>
<ContentControl Content="{Binding Content, Mode=TwoWay}" />
</DataTemplate>
</Setter.Value>
</Setter>
But now the problems are:
- The the Page don't full the tabitem. How can I make the content width=auto and height=auto
- When I select 2 times the same tabitem i got the message : The element is already the child of another element