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

RadTileView Position

2 Answers 140 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Madovi
Top achievements
Rank 1
Madovi asked on 14 Apr 2010, 03:12 PM
Good morning,

In my program, I've got 2 RadTileView.Items : one is visible and the second one is hidden depending of the number of image to display.
The first one is always visible and Maximized.

But if I change the Visibility Property of the second one to Visible, the first RadTitleView.item hide the second one.
I notice that the position property of the second one is equal to -1.

If the 2 items are visible when I start the program, the property of the second is equal to 1.

Do you have a solution to reorder the radTileView?

thanks

2 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 15 Apr 2010, 11:42 AM
Hello Maximilien Dovigo,

When you set the Visibility property of the second TileViewItem to Collapsed, the VisualTree doesn't load the item as a child and therefore when you set the Visibility property to back to Visible, the TileViewItem is displayed on top of the first one.

Can you try removing the item from the TileView.Items collection instead and then adding it back when needed?

I attached a sample project demonstrating this approach. Can you give it a try and let me know if it works for you?

Regards,
Tina Stancheva
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.
0
Madovi
Top achievements
Rank 1
answered on 15 Apr 2010, 01:53 PM
Hi Tina,
It works perfect for me.

Thanks again for your quick answer.

 Regards
    Maximilien
Tags
TileView
Asked by
Madovi
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Madovi
Top achievements
Rank 1
Share this question
or