First, don’t set the viewer :
//DataRow.Cells.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)