I cannot get a RadTileViewItem to display in a Silverlight UserControl properly. For example:
With the User Control simply having a RadTileViewItem in it, like so:
The resulting RadTileView displays a RadTileViewItem wrapped inside another RadTileViewItem! Copy and paste the code and try it out if you need a proof of concept.
The code is for illustration only. In reality, the user controls will be loaded dynamically with several user controls from which to choose. I do not want to create new RadTileViewItem objects in code (as shown in previous threads) as it is cumbersome and gives no visible control over the look of each type of RadTileViewItem you want. I want to design several UserControls then load the User Controls at runtime.
Can someone tell me what I am doing wrong? This seems too strange.
<telerikNavigation:RadTileView x:Name="tileView">
<userControls:myUserControl></userControls:myUserControl>
</telerikNavigation:RadTileView>
With the User Control simply having a RadTileViewItem in it, like so:
<telerikNavigation:RadTileViewItem Header="Test">
</telerikNavigation:RadTileViewItem>
The resulting RadTileView displays a RadTileViewItem wrapped inside another RadTileViewItem! Copy and paste the code and try it out if you need a proof of concept.
The code is for illustration only. In reality, the user controls will be loaded dynamically with several user controls from which to choose. I do not want to create new RadTileViewItem objects in code (as shown in previous threads) as it is cumbersome and gives no visible control over the look of each type of RadTileViewItem you want. I want to design several UserControls then load the User Controls at runtime.
Can someone tell me what I am doing wrong? This seems too strange.