<UserControl x:Class="SilverlightApplication2.MainPage"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
		xmlns:local="clr-namespace:SilverlightApplication2"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
		xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
		Width="333" Height="333">

	<UserControl.Resources>
		<local:People x:Key="People" />
		<telerik:HierarchicalDataTemplate x:Key="TreeItemTemplate" ItemsSource="{Binding Children}">
			<TextBlock Text="{Binding Name}"/>
		</telerik:HierarchicalDataTemplate>
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot" Margin="20">

		<telerikNavigation:RadTreeView
			x:Name="treeView1"
			ItemsSource="{StaticResource People}"
			ItemTemplate="{StaticResource TreeItemTemplate}"
			telerik:TextSearch.TextPath="Name"/>
	</Grid>
</UserControl>
