This question is locked. New answers and comments are not allowed.
Using the method of creating design-time data as shown in SLFS2010 MVVM with a designservice, it seems that the RadGridView is not able to present this data.
My design-time data consists of a observablecollection with 5 instances of a given object. The RadGridView is actually showing 5 rows, but it's not able to show the content of the object. A standard DataGrid however, displays the design time data easily.
Is this a bug, or is this just not supported? It is really a helpful way of creating views, so it should nevertheless be considered as a feature request.
XAML:
My design-time data consists of a observablecollection with 5 instances of a given object. The RadGridView is actually showing 5 rows, but it's not able to show the content of the object. A standard DataGrid however, displays the design time data easily.
Is this a bug, or is this just not supported? It is really a helpful way of creating views, so it should nevertheless be considered as a feature request.
XAML:
<
navigation:Page
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
x:Class
=
"TEST.Views.Persons"
mc:Ignorable
=
"d"
xmlns:navigation
=
"clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
d:DesignWidth
=
"640"
d:DesignHeight
=
"480"
DataContext
=
"{Binding Persons, Source={StaticResource Locator}}"
Title
=
"Persons Page"
>
<
Grid
x:Name
=
"LayoutRoot"
>
<
StackPanel
Orientation
=
"Vertical"
>
<
telerik:RadGridView
ItemsSource
=
"{Binding Persons}"
AutoGenerateColumns
=
"True"
MaxHeight
=
"400"
Width
=
"500"
>
</
telerik:RadGridView
>
<
sdk:DataGrid
ItemsSource
=
"{Binding Persons}"
AutoGenerateColumns
=
"True"
>
</
sdk:DataGrid
>
</
StackPanel
>
</
Grid
>
</
navigation:Page
>