This is a migrated thread and some comments may be shown as answers.

Cant display LargeContent

1 Answer 41 Views
TileView
This is a migrated thread and some comments may be shown as answers.
shane
Top achievements
Rank 1
shane asked on 01 Mar 2010, 08:23 AM

my code:

<telerikNavigation:RadTileViewItem x:Name="tvi">  
                <telerikNavigation:RadTileViewItem.Header>  
                        <TextBlock Text="{Binding 设备分类名称}" Style="{StaticResource HeaderTitle}" />  
                </telerikNavigation:RadTileViewItem.Header>  
                <telerikNavigation:RadTileViewItem.Content>  
                    <telerik:RadFluidContentControl telerikAnimation:AnimationManager.IsAnimationEnabled="True" 
                                                    SmallToNormalThreshold="279, 130" NormalToSmallThreshold="279, 130" 
                                NormalToLargeThreshold="730, 350" LargeToNormalThreshold="730, 350">  
                        <telerik:RadFluidContentControl.SmallContent>  
                            <Grid>  
                                <TextBlock Text="{Binding 规格名称}" Style="{StaticResource SmallBox}" />  
                            </Grid>  
                        </telerik:RadFluidContentControl.SmallContent>  
                        <telerik:RadFluidContentControl.Content>  
                            <Grid>  
                                <Image Source="{Binding 设备图片}" HorizontalAlignment="Left" Margin="13 13 0 0" VerticalAlignment="Top" />  
                            </Grid>  
                        </telerik:RadFluidContentControl.Content>  
                        <telerik:RadFluidContentControl.LargeContent>  
                            <Grid>  
                                <Grid.RowDefinitions>  
                                    <RowDefinition Height="Auto" />  
                                    <RowDefinition Height="*" />  
                                </Grid.RowDefinitions>  
                                <Image Source="{Binding 设备图片}"   
                                            VerticalAlignment="Top" 
                                           Grid.ColumnSpan="3" Margin="11 11 16 0" Grid.Row="0"/>  
                                <Border BorderBrush="#c9cdd2" Margin="10 190 10 20" VerticalAlignment="Top" BorderThickness="0 1 0 0" Grid.ColumnSpan="3">  
                                    <Border BorderBrush="#ffffff" BorderThickness="0 1 0 0" />  
                                </Border>  
                                <Image Source="{Binding 设备图片}" HorizontalAlignment="Center"   
                                           VerticalAlignment="Top" 
                                           Grid.Row="1" Margin="0 15 0 0" />  
                            </Grid>  
                        </telerik:RadFluidContentControl.LargeContent>  
                    </telerik:RadFluidContentControl>  
                </telerikNavigation:RadTileViewItem.Content>  
 
            </telerikNavigation:RadTileViewItem> 

1 Answer, 1 is accepted

Sort by
0
Tihomir Petkov
Telerik team
answered on 01 Mar 2010, 09:29 AM
Hello Shane,

The exact threshold values depend on the size of the panel that contains your TileView. Inappropriate threshold values are the most probable reason for your large content not showing. Can you please try tweaking the thresholds and see if you can find suitable values?

Another option you can use is to set the ContentChangeMode property to "manual" and take care of changing the visible content whenever the state of a TileViewItem is changed.

Best wishes,
Tihomir Petkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TileView
Asked by
shane
Top achievements
Rank 1
Answers by
Tihomir Petkov
Telerik team
Share this question
or