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

IsSynchronizedWithCurrentItem not supported by the TileView?

1 Answer 64 Views
TileView
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 05 Jun 2011, 02:19 PM
Hi,
I am having trouble getting the TileView to synchronize its maximized item with the current item from the ItemSource. I eventually got this to work by handling the appropriate event handlers but I'm wondering if there's something that I am doing wrong because it would certainly be much cleaner if I didn't have to do this. Here is how my control is defined:

 

<telerik:RadTileView
    x:Name="PART_TileView"
    ContentTemplate="{StaticResource ImageTileViewContentTemplate}"
    ItemsSource="{Binding Source={x:Static localdata:Image.ImageCollectionView}}"
    IsItemDraggingEnabled="False"
    IsSynchronizedWithCurrentItem="True"
    IsTextSearchEnabled="True"
    IsVirtualizing="True"
    ItemTemplate="{StaticResource ImageTileViewItemTemplate}"
    MinimizedColumnWidth="140"
    MinimizedItemsPosition="Right"
    MinimizedRowHeight="140"
    MaximizeMode="ZeroOrOne"
    TileStateChangeTrigger="SingleClick"
    TileStateChanged="RadTileView_TileStateChanged"
>
</telerik:RadTileView>

 

 

  

 

Thank you in advance for your excellent support.
Pete 

PS: I ran into a similar problem using the GridView when I bound 'ItemSource' to a collection. For that control I got the 'IsSynchronizedWithCurrentItem' behavior (thanks to your help) by binding to a collection view but that same trick isn't working for the TileView.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 08 Jun 2011, 02:56 PM
Hi William,
Unfortunately at the moment the RadTileView doesn't support synchronization for the current item. I've added it as a feature request in our PITS under the name "TileView: Add support for IsSynchronizedWithCurrentItem"  and it will be ready for tracking tomorrow the latest.
For now the easiest way is (as you've probably discovered) to handle the TilesStateChanged and the CurrentChanged events and synchronize the Maximized and the Current item there.
For further references could you please examine the attached project and if you have more questions feel free to ask.

Regards,
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
Tags
TileView
Asked by
William
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Share this question
or