multicolumn combobox width

2 posts, 0 answers
  1. Marius
    Marius avatar
    16 posts
    Member since:
    Oct 2011

    Posted 02 Jul 2012 Link to this post

    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!
  2. Stefan
    Stefan avatar
    2911 posts

    Posted 05 Jul 2012 Link to this post

    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.
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Back to Top