<Window xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  x:Class="CellTemplateProblem.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:CellTemplateProblem="clr-namespace:CellTemplateProblem" Title="MainWindow" Height="350" Width="525">
    <Window.Resources>
        <DataTemplate x:Key="dt">
            <TextBlock Loaded="TextBox_Loaded" Text="{Binding Value}" Foreground="Blue"/>
        </DataTemplate>
    </Window.Resources>
    <Window.DataContext>
        <CellTemplateProblem:MainWindowViewModel />
    </Window.DataContext>
    <Grid>
        <telerik:RadGridView Name="grid" ItemsSource="{Binding RowItems}" AutoGenerateColumns="True" />
    </Grid>
</Window>
