Home Forums WinForms controls Xceed Grid for WinForms winComboBox Reply To: winComboBox

User (Old forums)
Member
Post count: 23064

First, don’t set the viewer :

    //DataRow.Cells[0].CellViewerManager = new ComboBoxViewer(winComboBox);

The ComboBox will appear only when editing the cell.

Second, do the following to control what the user can do with the ComboBox :

    winComboBox.TextBoxArea.ReadOnly = true;

    winComboBox.AllowFreeText = false;

Imported from legacy forums. Posted by André (had 1624 views)