RadTreeView Using CollectionViewSource

2 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1698 posts
    Member since:
    Oct 2004

    Posted 29 Sep 2012 Link to this post

    Requirements

    RadControls version 2012.2.0607
    .NET version 4.0
    Visual Studio version 2010
    programming language C#
    browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    This sample project takes advantage of the CollectionViewSource to bind data to the RadTreeView ItemsSource and display it through a HierarchicalDataTemplate.
  2. Luc
    Luc avatar
    3 posts
    Member since:
    Aug 2018

    Posted 14 Aug in reply to Telerik Admin Link to this post

    Can you explain to me what is Items in 

     <HierarchicalDataTemplate x:Key="CategoryTemplate" ItemsSource="{Binding Path=Items}" ItemTemplate="{StaticResource AnimalTemplate}">
                <TextBlock Text="{Binding Path=Name}" FontWeight="Bold"/>
            </HierarchicalDataTemplate>

Back to Top