Increase the Height of the MultiColumn Combo box with respect to the Screen

3 posts, 1 answers
  1. Mike Treat
    Mike Treat avatar
    19 posts
    Member since:
    Jul 2009

    Posted 16 Feb 2010 Link to this post

    Hi,

        I need to set the Height of the  Multi Column Combo box with respect to the Height of the screen, for example i need to set the Height always 60% of the size of the screen. 


  2. Answer
    Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 19 Feb 2010 Link to this post

    Hi Mike Treat,

    Thank you for your questions. You can set DropDown height through DropDownHeight property. You can get the current screen size from PrimiryScreen.Bounds property. Please, consider the following code:

    int screenHeight = Screen.PrimaryScreen.Bounds.Height;
    this.radMultiColumnComboBox2.MultiColumnComboBoxElement.DropDownHeight = (int)(screenHeight * 0.6);

    Hope this helps. Do not hesitate to contact me again if you have other questions.

    Kind regards,
    Martin Vasilev
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Mike Treat
    Mike Treat avatar
    19 posts
    Member since:
    Jul 2009

    Posted 23 Feb 2010 Link to this post

    Thanks.
       That problem is fixed. 
Back to Top