Hello.
I tried to rewrite the SimpleMDI caliburn micro sample to use a RadTileView with Conductor<...>.Collection.AllActive. (Unfortunately I am not allowed to upload a sample project). As I understood from several resources on the web, I need to add custom conventions to get this working. I tried a lot of stuff and finally ended with
but unfortunately with no luck! My XAML looks like this and I think it should find the View for the ContentTemplate from the ViewModel - but id doesn't:
Has anyone experience with Caliburn Micro combined with Telerik?
Thanks A LOT for any kind of information and help!
All the best,
Tim.
I tried to rewrite the SimpleMDI caliburn micro sample to use a RadTileView with Conductor<...>.Collection.AllActive. (Unfortunately I am not allowed to upload a sample project). As I understood from several resources on the web, I need to add custom conventions to get this working. I tried a lot of stuff and finally ended with
static
void
AddCustomConventions()
{
ConventionManager.AddElementConvention<RadTileView>(RadTileView.ContentTemplateProperty,
"DataContext"
,
"Loaded"
);
}
but unfortunately with no luck! My XAML looks like this and I think it should find the View for the ContentTemplate from the ViewModel - but id doesn't:
<
UserControl
x:Class
=
"Caliburn.Micro.HelloMef.ShellView"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:x
=
"http://schemas.microsoft.com/winfx/2006/xaml"
>
<
Grid
x:Name
=
"LayoutRoot"
>
<
telerik:RadTileView
ItemsSource
=
"{Binding Items}"
>
<
telerik:RadTileView.ItemTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding DisplayName}"
/>
</
DataTemplate
>
</
telerik:RadTileView.ItemTemplate
>
</
telerik:RadTileView
>
</
Grid
>
</
UserControl
>
Has anyone experience with Caliburn Micro combined with Telerik?
Thanks A LOT for any kind of information and help!
All the best,
Tim.