First off --- very cool control...
Here is my RadTileViewItem:
<telerikNavigation:RadTileViewItem |
x:Class="xxx.DataViewDisplayTile" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:xxx="clr-namespace:xxx.Web" |
xmlns:telerikAnimation="clr-namespace:Telerik.Windows.Controls.Animation;assembly=Telerik.Windows.Controls" |
xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" |
> |
<telerikNavigation:RadTileViewItem.Header> |
<StackPanel Orientation="Horizontal"> |
<Image Source="../Images/data_view.png" Height="20" Width="20"/> |
<TextBlock x:Name="cHeaderText" Style="{StaticResource TileHeader}" /> |
</StackPanel> |
</telerikNavigation:RadTileViewItem.Header> |
<telerikNavigation:RadTileViewItem.Content> |
<telerikNavigation:RadFluidContentControl |
telerikAnimation:AnimationManager.IsAnimationEnabled="False" |
SmallToNormalThreshold="235, 35" |
NormalToSmallThreshold="305, 149" |
NormalToLargeThreshold="315, 155" |
LargeToNormalThreshold="725, 345"> |
<telerikNavigation:RadFluidContentControl.SmallContent> |
<TextBlock Text="Dataview Display Small" /> |
</telerikNavigation:RadFluidContentControl.SmallContent> |
<telerikNavigation:RadFluidContentControl.Content> |
<TextBlock Text="DataView Display Medium" /> |
</telerikNavigation:RadFluidContentControl.Content> |
<telerikNavigation:RadFluidContentControl.LargeContent> |
<xxx:DataViewDisplay x:Name="cDataViewDisplay" MinHeight="350"/> |
</telerikNavigation:RadFluidContentControl.LargeContent> |
</telerikNavigation:RadFluidContentControl> |
</telerikNavigation:RadTileViewItem.Content> |
</telerikNavigation:RadTileViewItem > |
The underlying xxx:DataViewDisplay is expandable to whatever size is available (it has a top level scroll viewer).
My goal is that whenever I have at least 350 pixels in height I show this control.
When the control shows for the first time only and there is < 350 pixels for each tile my LargeContent window shows up. If I cycle this window to LargeSize (maximize?) and then restore it to "Content" things display as I would expect.
So my best guess is that the MinHeight is not being respected for some reason.