Hi,
I am having issues with trying to get my tiles in restored mode to "fill in" when one tile is bigger than the others.
I have a RadTileView which needs to show 7 panels (tile in position 0 is going to be 100% height and 50% width of the tile viewer). The rest of the tiles are sized so they should fit in the remaining space available, however 3 of the tiles align themselves below the tile in position 0. This means they are not visible and the user has to scroll.
I tried following the article - http://blogs.telerik.com/zarkovidolov/posts/11-06-25/new-tileview-features.aspx
and tried downloading the sample but the link is bad.
Here is my xaml, which I am hoping that you will be able to help me:
Thanks in advance for any help!!!
Tracy
I am having issues with trying to get my tiles in restored mode to "fill in" when one tile is bigger than the others.
I have a RadTileView which needs to show 7 panels (tile in position 0 is going to be 100% height and 50% width of the tile viewer). The rest of the tiles are sized so they should fit in the remaining space available, however 3 of the tiles align themselves below the tile in position 0. This means they are not visible and the user has to scroll.
I tried following the article - http://blogs.telerik.com/zarkovidolov/posts/11-06-25/new-tileview-features.aspx
and tried downloading the sample but the link is bad.
Here is my xaml, which I am hoping that you will be able to help me:
<telerik:RadTileView Grid.Row="0" x:Name="ChartTiles" TileStateChangeTrigger="SingleClick" telerik:StyleManager.Theme="Office_Blue" ColumnsCount="3" RowsCount="3" ColumnWidth="Auto" RowHeight="Auto" MinimizedColumnWidth="300" MinimizedRowHeight="300" PreservePositionWhenMaximized="true" IsItemsSizeInPercentages="True" ItemsSource="{Binding ChartingViewModel.Charts}" telerik:TileViewPanel.IsColumnsShrinkEnabled="True" telerik:TileViewPanel.IsRowsShrinkEnabled="True" telerik:TileViewPanel.IsSizeBoundToPosition="True" TileStateChanged="ChartTiles_TileStateChanged" Loaded="ChartTiles_Loaded" TilesPositionChanged ="ChartTiles_TilesPositionChanged" > <telerik:RadTileView.ItemTemplate> <DataTemplate> <TextBlock Text="{Binding Name}" Style="{StaticResource tileItemStyle}"/> </DataTemplate> </telerik:RadTileView.ItemTemplate> <telerik:RadTileView.ItemContainerStyle> <Style TargetType="telerik:RadTileViewItem"> <Setter Property="RestoredHeight" Value="{Binding TileRestoredHeight, Mode=TwoWay}" /> <Setter Property="RestoredWidth" Value="{Binding TileRestoredWidth, Mode=TwoWay}" /> <!--<Setter Property="Position" Value="{Binding TilePosition, Mode=TwoWay}" />--> <Setter Property="ContextMenu" Value="{StaticResource ChartContextMenu}" /> </Style> </telerik:RadTileView.ItemContainerStyle> <telerik:RadTileView.ContentTemplate> <DataTemplate> <Grid> <Grid.RowDefinitions> <RowDefinition Height="30" /> <RowDefinition /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition /> <ColumnDefinition /> </Grid.ColumnDefinitions> <Label Grid.Row="0" Grid.Column="0" HorizontalAlignment="Left" Content="{Binding Path=Title}"/> <StackPanel Grid.Row="0" Grid.Column="1" HorizontalAlignment="Right" Orientation="Horizontal"> <RadioButton Content="Pie Chart" IsChecked="{Binding Path=IsPieChartActive}" Margin="0,5,0,5"/> <RadioButton Content="Bar Chart" IsChecked="{Binding Path=IsBarChartActive}" Margin="5"/> </StackPanel> <ecaAnalyzerViews:PieChartControl Grid.Row="1" Grid.ColumnSpan="2" Visibility="{Binding Path=PieChartVisibility, TargetNullValue=Collapsed, FallbackValue=Collapsed}" /> <ecaAnalyzerViews:BarChartControl Grid.Row="1" Grid.ColumnSpan="2" Visibility="{Binding Path=BarChartVisibility, TargetNullValue=Collapsed, FallbackValue=Collapsed}" /> </Grid> </DataTemplate> </telerik:RadTileView.ContentTemplate></telerik:RadTileView>Thanks in advance for any help!!!
Tracy