Custom context menu for TreeListView

4 posts, 0 answers
  1. KK
    KK avatar
    5 posts
    Member since:
    Aug 2012

    Posted 04 Jan 2011 Link to this post

    Hi,
    Is it possible to apply a cusotm context menu to RadTreeListview like RadTreeView? I am trying this in WPF + MVVM.
    Can you share a sample project of the same?
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 04 Jan 2011 Link to this post

    Hello,

     You can use similar to this example approach to achieve your goal. 

    All the best,
    Vlad
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  3. UI for WPF is Visual Studio 2017 Ready
  4. KK
    KK avatar
    5 posts
    Member since:
    Aug 2012

    Posted 04 Jan 2011 Link to this post

    Hi Vlad,
    Thanks for quick response. In this example all items have same context menu but in my case context menu should be different. For example I have an item Certificates node and his children which are Cert01 and Cert02.

    - Certificates
            - Cert01
            - Cert02

    So here Certificates node should have diffrent context menu and Cert01 and Cert02 should have same context menu. 
    Is it possible in TreeListView?


  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 04 Jan 2011 Link to this post

    Hello,

     You can create menu items on demand depending on your condition in Opened event. 

    Regards,
    Vlad
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
Back to Top