RadTileView Position

3 posts, 0 answers
  1. Madovi
    Madovi avatar
    7 posts
    Member since:
    Mar 2010

    Posted 14 Apr 2010 Link to this post

    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. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 15 Apr 2010 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Madovi
    Madovi avatar
    7 posts
    Member since:
    Mar 2010

    Posted 15 Apr 2010 Link to this post

    Hi Tina,
    It works perfect for me.

    Thanks again for your quick answer.

     Regards
        Maximilien
Back to Top