I have a project where I have a main TileItem within a RadTileView. The main item can never be closed, but "child" TileItems can be closed (I've implemented a close button on the template for the "child" tile items). At startup, I'm setting the MinimizedColumnWidth on the RadTileView to 0 so that the main tile item takes up the entire screen width. Then, when a "child" tile item is created and loaded, I change the MinimizedColumnWidth to 200 and change out the content. Finally, when all of the "child" tile items have been closed, I maximize the main tile item again and set the MinimizedColumnWidth on the RadTileView back to 0, to try and make the main window take up the full screen width again.
Everything works up until the last step. Setting the MinimizedColumnWidth back to 0 has no effect, and the column layout appears to remain at 200 for the minimized column. If it matters, I have my RadTileView enclosed in a Grid. Here is a sample of the Xaml markup:
Is there a way to make the main tile item take up the entire screen width again when all of the "child" tiles are closed?
Thanks,
Greg
Everything works up until the last step. Setting the MinimizedColumnWidth back to 0 has no effect, and the column layout appears to remain at 200 for the minimized column. If it matters, I have my RadTileView enclosed in a Grid. Here is a sample of the Xaml markup:
<Grid x:Name="LayoutRoot" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<ScrollViewer
HorizontalScrollBarVisibility="Auto"
VerticalScrollBarVisibility="Auto"
VerticalContentAlignment="Center"
Padding="0"
Margin="0,0,0,0"
x:Name="sv"
BorderThickness="0">
<Border CornerRadius="6" x:Name="mainBorder">
<telerikNavigation:RadTileView
x:Name="RadTileView1"
MinimizedColumnWidth="0"
MinimizedRowHeight="200"
MinimizedItemsPosition="Right"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
MaximizeMode="One"
Width="Auto"
Height="Auto"
ScrollBarVisibility="Auto">
<telerikNavigation:RadTileViewItem
x:Name="mainDiagramTile"
TileStateChanged="mainDiagramTile_TileStateChanged"
MinimizedHeight="200">
<telerikNavigation:RadTileViewItem.Header>
<TextBlock x:Name="tbMain" Text="Loading..." Style="{StaticResource HeaderTitle}" />
</telerikNavigation:RadTileViewItem.Header>
<telerikNavigation:RadTileViewItem.Content>
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
<Controls:SilverlightDiagram x:Name="d"/>
</ScrollViewer>
</telerikNavigation:RadTileViewItem.Content>
</telerikNavigation:RadTileViewItem>
</telerikNavigation:RadTileView>
</Border>
</ScrollViewer>
</Grid>
Is there a way to make the main tile item take up the entire screen width again when all of the "child" tiles are closed?
Thanks,
Greg