How to make the history drop down to match it's parent width?

2 posts, 0 answers
  1. Ivan Zlatanov
    Ivan Zlatanov avatar
    20 posts
    Member since:
    Jul 2009

    Posted 23 Dec 2012 Link to this post

    Hi,

    I am trying to make the dropdown history list's width match the breadcrumb's one. Which style or container should I overwrite to achieve this? I would like to make the breadcrumb look like the standard windows explorer one.

    I suppose it is a matter of replacing a stack panel with a grid somewhere down the line, but I can't figure out where exactly. Any help is much appreciated.

    Kind Regards,

    Ivan.
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 27 Dec 2012 Link to this post

    Hello Ivan,

    Let me get straight to your question. Basically we do not support such functionality and this sizing is deep involved with the design of the control. If you want to change it you will have to redesign the control. However, the common approach in such cases is to bind the ActualWidth property of the control to the Width property of the pop-up which shows the history list. Keep in mind that in your specific scenario this is not going to work because the control and the pop-up are in different visual trees and you can not control both of them.

    Kind regards,
    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top