Hi,
Bellow, you will find the user control we are trying to create using tile view.
The tile control contains five TileViewItem-s and the last two ones are commented out.
Steps to reproduce the issue:
1.) Open tileview is in its initial mode and notice that all items present their Content - properly.
2.) Double click (or click on minimize icon) at the header of any item and notice how that item shows its LargeContent while
other ones present their SmallContent - properly.
3.) Double click (or click on minimize icon) at the header of any 'minimized' item at the right. That item will show its LargeContent
in the middle, but the previous item that should be 'minimized' and should show its SmallContent will show its Content instead.
That is not proper behavior.
The issue appears only when we have three items and when you uncomment the two last ones issue dissapears.
With 2, 4, and 5 items, when item is 'minimized' it will show its Content for a while and then there will be transition to its SmallContent.
With 3 items that transition is missing.
Could you please help us with this?
<UserControl x:Class="InvoiceDetailsView" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" |
xmlns:telerikNav="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" |
xmlns:telerikAni="clr-namespace:Telerik.Windows.Controls.Animation;assembly=Telerik.Windows.Controls" |
> |
<UserControl.Resources> |
<Style TargetType="TextBlock" x:Key="HeaderTitle"> |
<Setter Property="Foreground" Value="Black" /> |
<Setter Property="FontSize" Value="12" /> |
<Setter Property="FontWeight" Value="Bold" /> |
<Setter Property="FontFamily" Value="Segoe UI" /> |
<Setter Property="VerticalAlignment" Value="Center" /> |
<Setter Property="Padding" Value="0" /> |
</Style> |
<Style TargetType="TextBlock" x:Key="SmallBox"> |
<Setter Property="Foreground" Value="#0b4366" /> |
<Setter Property="FontSize" Value="12" /> |
<Setter Property="FontWeight" Value="Normal" /> |
<Setter Property="FontFamily" Value="Segoe UI" /> |
<Setter Property="VerticalAlignment" Value="Center" /> |
<Setter Property="Padding" Value="10 0" /> |
</Style> |
</UserControl.Resources> |
<telerikNav:RadTileView x:Name="RadTileView1" |
Width="950" |
Height="400" |
MinimizedColumnWidth="197" |
Grid.Column="0" |
Grid.Row="3" |
> |
<telerikNav:RadTileViewItem> |
<telerikNav:RadTileViewItem.Header> |
<TextBlock Text="Red Header" Style="{StaticResource HeaderTitle}" /> |
</telerikNav:RadTileViewItem.Header> |
<telerikNav:RadTileViewItem.Content> |
<telerik:RadFluidContentControl telerikAni:AnimationManager.IsAnimationEnabled="True" |
SmallToNormalThreshold="291, 130" |
NormalToSmallThreshold="292, 131" |
NormalToLargeThreshold="730, 350" |
LargeToNormalThreshold="731, 351"> |
<telerik:RadFluidContentControl.SmallContent> |
<Border Width="230" Height="15" MaxHeight="15"> |
<TextBlock Text="Red Small Content" Style="{StaticResource SmallBox}" /> |
</Border> |
</telerik:RadFluidContentControl.SmallContent> |
<telerik:RadFluidContentControl.Content> |
<Grid HorizontalAlignment="Left" Margin="13 13 0 0" Height="130" Width="279" VerticalAlignment="Top" Background="Red"> |
<TextBlock Text="Red Content" /> |
</Grid> |
</telerik:RadFluidContentControl.Content> |
<telerik:RadFluidContentControl.LargeContent> |
<Grid Width="730" Height="350"> |
<Grid.RowDefinitions> |
<RowDefinition Height="Auto" /> |
<RowDefinition Height="*" /> |
</Grid.RowDefinitions> |
<Grid Background="Red" |
Height="156" Width="715" VerticalAlignment="Top" |
Grid.ColumnSpan="3" Margin="11 11 16 0"> |
<TextBlock Text="Red Large Content" /> |
</Grid> |
</Grid> |
</telerik:RadFluidContentControl.LargeContent> |
</telerik:RadFluidContentControl> |
</telerikNav:RadTileViewItem.Content> |
</telerikNav:RadTileViewItem> |
<telerikNav:RadTileViewItem > |
<telerikNav:RadTileViewItem.Header> |
<TextBlock Text="Green header" Style="{StaticResource HeaderTitle}" /> |
</telerikNav:RadTileViewItem.Header> |
<telerikNav:RadTileViewItem.Content> |
<telerik:RadFluidContentControl telerikAni:AnimationManager.IsAnimationEnabled="True" |
SmallToNormalThreshold="279, 130" |
NormalToSmallThreshold="280, 131" |
NormalToLargeThreshold="730, 350" |
LargeToNormalThreshold="731, 351"> |
<telerik:RadFluidContentControl.SmallContent> |
<Border Width="230" Height="15" MaxHeight="15"> |
<TextBlock Text="Green Small Content" Style="{StaticResource SmallBox}" /> |
</Border> |
</telerik:RadFluidContentControl.SmallContent> |
<telerik:RadFluidContentControl.Content> |
<Grid Background="Green" HorizontalAlignment="Left" Margin="13 13 0 0" Height="130" Width="279" VerticalAlignment="Top"> |
<TextBlock Text="Green Content" /> |
</Grid> |
</telerik:RadFluidContentControl.Content> |
<telerik:RadFluidContentControl.LargeContent> |
<Grid Width="730" Height="350"> |
<Grid.RowDefinitions> |
<RowDefinition Height="Auto" /> |
<RowDefinition Height="*" /> |
</Grid.RowDefinitions> |
<Grid Background="Green" |
Height="156" Width="715" VerticalAlignment="Top" |
Grid.ColumnSpan="3" Margin="11 11 16 0"> |
<TextBlock Text="Green Large Content" /> |
</Grid> |
</Grid> |
</telerik:RadFluidContentControl.LargeContent> |
</telerik:RadFluidContentControl> |
</telerikNav:RadTileViewItem.Content> |
</telerikNav:RadTileViewItem> |
<telerikNav:RadTileViewItem> |
<telerikNav:RadTileViewItem.Header> |
<TextBlock Text="Blue header" Style="{StaticResource HeaderTitle}" /> |
</telerikNav:RadTileViewItem.Header> |
<telerikNav:RadTileViewItem.Content> |
<telerik:RadFluidContentControl telerikAni:AnimationManager.IsAnimationEnabled="True" |
SmallToNormalThreshold="279, 130" |
NormalToSmallThreshold="280, 131" |
NormalToLargeThreshold="730, 350" |
LargeToNormalThreshold="731, 351"> |
<telerik:RadFluidContentControl.SmallContent> |
<Border Width="230" Height="15" MaxHeight="15"> |
<TextBlock Text="Blue Small Content" Style="{StaticResource SmallBox}" /> |
</Border> |
</telerik:RadFluidContentControl.SmallContent> |
<telerik:RadFluidContentControl.Content> |
<Grid Background="Blue" HorizontalAlignment="Left" Margin="13 13 0 0" Height="130" Width="279" VerticalAlignment="Top"> |
<TextBlock Text="Blue Content" /> |
</Grid> |
</telerik:RadFluidContentControl.Content> |
<telerik:RadFluidContentControl.LargeContent> |
<Grid Width="730" Height="350"> |
<Grid.RowDefinitions> |
<RowDefinition Height="Auto" /> |
<RowDefinition Height="*" /> |
</Grid.RowDefinitions> |
<Grid Background="Blue" |
Height="156" Width="715" VerticalAlignment="Top" |
Grid.ColumnSpan="3" Margin="11 11 16 0"> |
<TextBlock Text="Blue Large Content" /> |
</Grid> |
</Grid> |
</telerik:RadFluidContentControl.LargeContent> |
</telerik:RadFluidContentControl> |
</telerikNav:RadTileViewItem.Content> |
</telerikNav:RadTileViewItem> |
<!--<telerikNav:RadTileViewItem> |
<telerikNav:RadTileViewItem.Header> |
<TextBlock Text="Orange header" Style="{StaticResource HeaderTitle}" /> |
</telerikNav:RadTileViewItem.Header> |
<telerikNav:RadTileViewItem.Content> |
<telerik:RadFluidContentControl telerikAni:AnimationManager.IsAnimationEnabled="True" |
SmallToNormalThreshold="279, 130" |
NormalToSmallThreshold="280, 131" |
NormalToLargeThreshold="730, 350" |
LargeToNormalThreshold="731, 351"> |
<telerik:RadFluidContentControl.SmallContent> |
<Border Width="230" Height="15" MaxHeight="15"> |
<TextBlock Text="Orange Small Content" Style="{StaticResource SmallBox}" /> |
</Border> |
</telerik:RadFluidContentControl.SmallContent> |
<telerik:RadFluidContentControl.Content> |
<Grid Background="Orange" HorizontalAlignment="Left" Margin="13 13 0 0" Height="130" Width="279" VerticalAlignment="Top"> |
<TextBlock Text="Orange Content" /> |
</Grid> |
</telerik:RadFluidContentControl.Content> |
<telerik:RadFluidContentControl.LargeContent> |
<Grid Width="730" Height="350"> |
<Grid.RowDefinitions> |
<RowDefinition Height="Auto" /> |
<RowDefinition Height="*" /> |
</Grid.RowDefinitions> |
<Grid Background="Orange" |
Height="156" Width="715" VerticalAlignment="Top" |
Grid.ColumnSpan="3" Margin="11 11 16 0"> |
<TextBlock Text="Orange Large Content" /> |
</Grid> |
</Grid> |
</telerik:RadFluidContentControl.LargeContent> |
</telerik:RadFluidContentControl> |
</telerikNav:RadTileViewItem.Content> |
</telerikNav:RadTileViewItem> |
<telerikNav:RadTileViewItem> |
<telerikNav:RadTileViewItem.Header> |
<TextBlock Text="Gray header" Style="{StaticResource HeaderTitle}" /> |
</telerikNav:RadTileViewItem.Header> |
<telerikNav:RadTileViewItem.Content> |
<telerik:RadFluidContentControl telerikAni:AnimationManager.IsAnimationEnabled="True" |
SmallToNormalThreshold="279, 130" |
NormalToSmallThreshold="280, 131" |
NormalToLargeThreshold="730, 350" |
LargeToNormalThreshold="731, 351"> |
<telerik:RadFluidContentControl.SmallContent> |
<Border Width="230" Height="15" MaxHeight="15"> |
<TextBlock Text="Gray Small Content" Style="{StaticResource SmallBox}" /> |
</Border> |
</telerik:RadFluidContentControl.SmallContent> |
<telerik:RadFluidContentControl.Content> |
<Grid Background="Gray" HorizontalAlignment="Left" Margin="13 13 0 0" Height="130" Width="279" VerticalAlignment="Top"> |
<TextBlock Text="Gray Content" /> |
</Grid> |
</telerik:RadFluidContentControl.Content> |
<telerik:RadFluidContentControl.LargeContent> |
<Grid Width="730" Height="350"> |
<Grid.RowDefinitions> |
<RowDefinition Height="Auto" /> |
<RowDefinition Height="*" /> |
</Grid.RowDefinitions> |
<Grid Background="Gray" |
Height="156" Width="715" VerticalAlignment="Top" |
Grid.ColumnSpan="3" Margin="11 11 16 0"> |
<TextBlock Text="Gray Large Content" /> |
</Grid> |
</Grid> |
</telerik:RadFluidContentControl.LargeContent> |
</telerik:RadFluidContentControl> |
</telerikNav:RadTileViewItem.Content> |
</telerikNav:RadTileViewItem>--> |
</telerikNav:RadTileView> |
</UserControl> |