Reqstion about TileView Size

2 posts, 0 answers
  1. Zhang
    Zhang avatar
    5 posts
    Member since:
    Nov 2011

    Posted 18 Nov 2011 Link to this post

      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>
  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 22 Nov 2011 Link to this post

    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 >>

  3. DevCraft banner
Back to Top