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

    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!
  2. Stefan
    Admin
    Stefan avatar
    2891 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.
     
    Regards,
    Stefan
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top