TileView inside stackpanel bug

3 posts, 0 answers
  1. Jorn
    Jorn avatar
    222 posts
    Member since:
    Jun 2009

    Posted 22 Jun 2011 Link to this post

    Take the following XAML:
    <StackPanel Grid.Row="1">
        <telerik:RadTileView x:Name="TileView1"
            MaxRows="1" MaximizeMode="Zero"
            IsItemDraggingEnabled="True"
            IsSelectionEnabled="True"
            SelectionMode="Single">
            <telerik:RadTileViewItem Header="Test1"/>
            <telerik:RadTileViewItem Header="Test2"/>
            <telerik:RadTileViewItem Header="Test3"/>
            <telerik:RadTileViewItem Header="Test4"/>
        </telerik:RadTileView>
    </StackPanel>

    Only two tiles are shown and only half the screen is filled. Remove one tile and all three are shown stretching along the whole screen.
  2. Jorn
    Jorn avatar
    222 posts
    Member since:
    Jun 2009

    Posted 22 Jun 2011 Link to this post

    Note: if you start to drag around the two tiles the missing two suddenly pops up.
  3. DevCraft banner
  4. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 22 Jun 2011 Link to this post

    Hi Jorn,
    Thank you for the bug report. We'll look into in and we'll try to fix it in some of the next internal builds.
    For now I can give you a couple workarounds:
    • don't place the RadTileView inside a StackPanel
    • set RowHeight, Height or MaxHeight property of the RadTileView to an exact value.
    • set the IsVirtualizing property of the RadTileView to True.

    If you do any of this things everything should be ok.

    I've updated your telerik account and if you have more questions feel free to ask.

    Best wishes,
    Zarko
    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
Back to Top