RadTreeView Using CollectionViewSource

Thread is closed for posting
2 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 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. 4110C15E-CC37-42D0-A903-1645359E2F30
    4110C15E-CC37-42D0-A903-1645359E2F30 avatar
    3 posts
    Member since:
    Aug 2018

    Posted 14 Aug 2018 in reply to 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD 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

This Code Library is part of the product documentation and subject to the respective product license agreement.