Home Forums WinForms controls Xceed Grid for WinForms Width of ComboBoxEditor Dropdown Reply To: Width of ComboBoxEditor Dropdown

User (Old forums)
Post count: 23064

If you are using the comboBox in a grid, you can do something like this :

gridControl1.DataRows[1].Cells[0].CellEditorManager = new Xceed.Grid.Editors.CellEditorManager(new Xceed.Editors.WinComboBox(),”Text”,true,true);

Xceed.Grid.Editors.CellEditorManager man = gridControl1.DataRows[1].Cells[0].CellEditorManager;

((Xceed.Editors.WinComboBox)man.TemplateControl).DropDownControl.Width = 500;

Imported from legacy forums. Posted by Matt (had 284 views)