<Window
	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:local="clr-namespace:WpfApplication63"
	x:Class="WpfApplication63.MainWindow"
	x:Name="Window"
	Title="MainWindow"
	Width="640" Height="480">
	<Window.Resources>
		<local:Converter x:Key="con"/>
		<Style x:Key="style1" TargetType="telerik:GridViewCell">
			<Setter Property="Background" Value="{Binding Property1, Converter={StaticResource con}}"/>
		</Style>
	</Window.Resources>
	<Grid x:Name="LayoutRoot" DataContext="{Binding Source={StaticResource SampleDataSource}}">
		<telerik:RadGridView x:Name="grid" ItemsSource="{Binding Collection}" ColumnWidth="*" AutoGenerateColumns="False"  Margin="8,8,8,133"/>
		<telerik:RadButton Content="Create Columns" Click="radButton1_Click" Height="33" Margin="0,0,8,8" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="112"/>
	</Grid>
</Window>