This is a migrated thread and some comments may be shown as answers.

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

2 Answers 138 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
Mike Treat
Top achievements
Rank 1
Mike Treat asked on 16 Feb 2010, 08:59 AM
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 Answers, 1 is accepted

Sort by
0
Accepted
Martin Vasilev
Telerik team
answered on 19 Feb 2010, 08:23 AM
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.
0
Mike Treat
Top achievements
Rank 1
answered on 23 Feb 2010, 12:53 PM
Thanks.
   That problem is fixed. 
Tags
MultiColumn ComboBox
Asked by
Mike Treat
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Mike Treat
Top achievements
Rank 1
Share this question
or