Show Parent's Drop Down On Child

2 posts, 0 answers
  1. ben
    ben avatar
    6 posts
    Member since:
    Jul 2007

    Posted 27 May 2015 Link to this post

    Is there a way to show the BreadCrumb's parent dropdown menu on selection of the child?


    For example, let's the example program from the WPF Examples / BreadCrumb Theming, it shows a demo of windows explorer.

    Local Disk c:\ -> Personal Folders -> Outbox as a sample breadcrumb path.

    By default, if I click on the drop down for 'Personal Folders' I'll get a listing of the child elements, i.e. 'Outbox', 'Drafts', etc.  

    Outbox doesn't have a drop down associated with it since it is the last element.

    Is it possible to setup the control so there would be a drop down on 'Outbox' and clicking it would show all of the items at that level? 





  2. Martin Ivanov
    Martin Ivanov avatar
    2506 posts

    Posted 01 Jun 2015 Link to this post

    Hi Ben,

    The described behavior is not supported by RadBreadcrumb out of the box. However, you should be able to implement it with custom code. Basically, you can use a DataTemplateSelector for the breadcrumb items appearance and if an item does not have child elements choose a template with a drop down inside of it that displays the other elements.

    For your convenience I prepared a sample project demonstrating this approach. Please give it a try and let me know if it works for you.

    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 Feedback Portal and vote to affect the priority of the items
Back to Top