Hierarchical TileView with Databinding

2 posts, 0 answers
  1. Jan
    Jan avatar
    4 posts
    Member since:
    Jan 2010

    Posted 09 Feb 2010 Link to this post

    I have implemented a TileView which has items which contains further TileViews. Currently I'm creating the TileViews and the TileViewItems dynamically from code behind and that looks absolutely great! (Good work!) But now I'm dreaming of manipulating the tree behind. Think of a class like this...

    public class MyItem 
      string _shortDescription; 
      string _detailedDescription; 
      ArrayList _childItems; // which contains more items 

    And now I have the idea to show it like this:
    Header of the TileViewItem: the short description

    SmallContent: showing the detailed description
    Content: A list of short descriptions from all child items
    LargeContent: a TileView showing recursively all it's children as TileViewItems

    I have absolutely no idea how to do this using data binding. First question: is this possible? and second: how? :-)

    Thanks in advance,
    Jan
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 12 Feb 2010 Link to this post

    Hi Jan,

    We have created an example that shows how to achieve the needed task using HierarchicalDataTemplates and RadFluidContentControl.

    Please let us know if you need more info.

    All the best,
    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
Back to Top