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

TileView not respecting position

2 Answers 45 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Murray
Top achievements
Rank 2
Murray asked on 06 Sep 2011, 03:12 PM
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 Answers, 1 is accepted

Sort by
0
Murray
Top achievements
Rank 2
answered on 06 Sep 2011, 03:26 PM
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?
0
Zarko
Telerik team
answered on 06 Sep 2011, 04:10 PM
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 >>

Tags
TileView
Asked by
Murray
Top achievements
Rank 2
Answers by
Murray
Top achievements
Rank 2
Zarko
Telerik team
Share this question
or