TileView not respecting position

3 posts, 0 answers
  1. Murray
    Murray avatar
    121 posts
    Member since:
    Aug 2010

    Posted 06 Sep 2011 Link to this post

    Hi

    My TileView is rendering the tiles in different orders every time I load the application.
    I have tried setting the position property to no effect.

    Here are the properties on my RadTileView -
    <telerik:RadTileView
                    x:Name="xxx"
                    MaximizeMode="ZeroOrOne"
                    MinimizedItemsPosition="Left"
                    SelectedIndex="{Binding SelectedIndex}"
                    Behaviors:RadTileViewBehavior.TileManager="{Binding TileManager}"
                    Grid.ColumnSpan="2"
                    Grid.Column="1"
                    MinimizedColumnWidth="0"
                    PreservePositionWhenMaximized="True"
                    PreviewTileStateChanged="myTile_PreviewTileStateChanged"
                    IsAnimationOptimized="True"
                    Background="{StaticResource HeaderFooterDark}"
                    IsVirtualizing="True"
                    IsItemDraggingEnabled="False"
                    IsItemsAnimationEnabled="False">

    Any ideas?


  2. Murray
    Murray avatar
    121 posts
    Member since:
    Aug 2010

    Posted 06 Sep 2011 Link to this post

    It seems that the position property is being ignored, and the tiles were rendering in reverse order to how they were written in the XAML.

    I re-ordered the Tiles in XAML from last to first and now they render in the right order.

    Has anyone else reported that the "position" property doesnt work?
  3. DevCraft banner
  4. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 06 Sep 2011 Link to this post

    Hi Murray,
    You are right - when the RadTileView virtualization is turned on the position property is being ignored. I wasn't able to recreate the rendering in reverse order so I'd like ask you to send us a sample project that reproduces it.
    Also when you're using the virtualization it's a bad practice to use XAML defined items (you'll have problems in this scenario), instead you should bind the RadTileView to a business collection.
    If you have more questions feel free to ask.

    Best wishes,
    Zarko
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top