<Window x:Class="RadPropertyGridExample.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" 
        xmlns:datacontext="clr-namespace:RadPropertyGridExample.ViewModels"
        Title="MainWindow" Height="350" Width="525">
	<Window.DataContext>
		<datacontext:MainViewModel/>
	</Window.DataContext>
	<Grid x:Name="LayoutRoot" Background="White">
		<Grid.RowDefinitions>
			<RowDefinition Height="*"/>
			<RowDefinition Height="30"/>
			<RowDefinition Height="30"/>
		</Grid.RowDefinitions>
		<telerik:RadDocking>
			<telerik:RadSplitContainer InitialPosition="DockedRight">
				<telerik:RadPaneGroup>
					<telerik:RadPane Header="Properties" >
						<telerik:RadPropertyGrid Grid.Row="0" 
												 x:Name="PropertyGrid1"
												 Loaded="PropertyGrid1_Loaded"
												 RenderMode="Flat"
												 AutoGeneratePropertyDefinitions="True"
												 LabelColumnWidth="100"/>
					</telerik:RadPane>
				</telerik:RadPaneGroup>
			</telerik:RadSplitContainer>
		</telerik:RadDocking>
	</Grid>
</Window>
