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

multicolumn combobox width

1 Answer 157 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
Marius
Top achievements
Rank 1
Marius asked on 02 Jul 2012, 12:02 PM
Hello! 
I want 
the width of the dropdown's elements always matches the width of the control. Is there a simple property that can i set? I have attached an example. Thank you!

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 05 Jul 2012, 06:01 AM
Hello Stelian,

Thank you for writing.

Yes there is such a way - by setting the AutoSizeColumnsMode property of the inner grid:
radMultiColumnComboBox1.MultiColumnComboBoxElement.EditorControl.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;

Should you have any other questions, do not hesitate to contact us.
 
Regards,
Stefan
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
MultiColumn ComboBox
Asked by
Marius
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or