my data context for the treeview is being set on the cs side i moved it to the tree view but im getting an error on the DataType="{x:Type local:Continent}"
section why?
Thanks
Madaxe
<TreeView DataContext="_CountryImplementation.ContinentImplementation" ItemsSource="{Binding ContinentModels}" Name="Tvw_ContinentsCountrys" Margin="2,2,2,2" Background="#FFFFECEC">
<TreeView.Resources>
<HierarchicalDataTemplate DataType="{x:Type local:Continent}" ItemsSource="{Binding Countries}">
<TextBlock Text="{Binding ContinentName}"/>
</HierarchicalDataTemplate>
</TreeView.Resources>
</TreeView>