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

Reqstion about TileView Size

1 Answer 27 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Zhang
Top achievements
Rank 1
Zhang asked on 18 Nov 2011, 09:49 AM
  Hi body,i had a RadGridView in the TileView.
but the radgridview is big then the TileView,when i select Minimized,the one of the RadTileViewItem's big then others.


<telerik:RadTileView Height="400" Name="radTileView1" Width="600" >
                    <telerik:RadTileViewItem Name="rtv1" Header="RadTileViewItem" SizeChanged="RadTileViewItem_SizeChanged" TileStateChanged="rtv1_TileStateChanged">
                        <telerik:RadGridView Name="radGridView1" Width="auto">
                        </telerik:RadGridView>
                    </telerik:RadTileViewItem>
                    <telerik:RadTileViewItem Header="RadTileViewItem" />
                    <telerik:RadTileViewItem Header="RadTileViewItem" />
                    <telerik:RadTileViewItem Header="RadTileViewItem" />
                    <telerik:RadTileViewItem Header="RadTileViewItem" />
                    <telerik:RadTileViewItem Header="RadTileViewItem">
                        <sdk:Label Name="label1">
                            <system:String>Auto</system:String>
                        </sdk:Label>
                    </telerik:RadTileViewItem>
                </telerik:RadTileView>

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 22 Nov 2011, 06:23 PM
Hi Zhang,
By default the width of the minimized column in the RadTileView is set to Auto, which means that each item will be as width as it desires. To change this behavior you have to set the MinimizedColumnWidth property of the tileView to some exact size (like 250) and all your minimized items will have this width:
<telerik:RadTileView x:Name="myTileView"
                     ....
                     MinimizedColumnWidth="300"/>
If you have more questions please feel free to ask.

Best wishes,
Zarko
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TileView
Asked by
Zhang
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Share this question
or