This question is locked. New answers and comments are not allowed.
Hi,
So i have been experimenting with the RadTransitionControl using a ListBox and some simple data classes. This work fine.
But I have some usercontrol's which I have previously created and would like to transition between them. How would this work?
Would I create an ObservableCollection of UserControls? What would you add in the DataTemplate? This is what I had for my simple data class example. Then I changed the collection to a Collection of UserControls:
//List of UserControls
Any help of this would be great.
Thanks
So i have been experimenting with the RadTransitionControl using a ListBox and some simple data classes. This work fine.
But I have some usercontrol's which I have previously created and would like to transition between them. How would this work?
Would I create an ObservableCollection of UserControls? What would you add in the DataTemplate? This is what I had for my simple data class example. Then I changed the collection to a Collection of UserControls:
//List of UserControls
<ListBox x:Name="ListOfUserControls" ItemsSource="{Binding Path=Collection}" Visibility="Collapsed"/>
<telerik:RadTransitionControl Grid.Column="1" Content="{Binding SelectedItem, ElementName=ListOfUserControls}" Margin="104,0,113,0"> <telerik:RadTransitionControl.ContentTemplate> <DataTemplate> //WHAT WOULD GO HERE </DataTemplate> </telerik:RadTransitionControl.ContentTemplate>
Any help of this would be great.
Thanks