DropDown Height

2 posts, 1 answers
  1. Nucleo
    Nucleo avatar
    13 posts
    Member since:
    Aug 2012

    Posted 16 Jan 2013 Link to this post


    I'm having some problems while using the ComboBox. I need its DropDown list gets the maximum height it can, but I can't find a way to accomplish this.

    I have already tried the solution on this thread (http://www.telerik.com/community/forums/silverlight/combobox/height-of-dropdown-and-maxdropdownheight.aspx), but it's not working. Actually it doesn't change a thing.

    Can you please help me?

    Kind Regards.
  2. Answer
    Ventzi avatar
    114 posts

    Posted 22 Jan 2013 Link to this post

    Hi Marcelo,

    You could bind the MaxDropDownHeight property of RadComboBox to the ActualHeight property of your Host like following:
    public double MaxDropDownHeight
            return (double)App.Current.Host.Content.ActualHeight;
    This will set the height of the DropDown to the maximal available height. 

    I hope this helps.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top