Home Forums WinForms controls Xceed Grid for WinForms CheckBoxEditor initial state Reply To: CheckBoxEditor initial state

Xceed Support
Post count: 5658

Hi Andrea,

Try this:

WinCheckBox chk_temp = new WinCheckBox(“test”, CheckState.Unchecked);

chk_temp.ThreeState =


insertionRow1.Cells[15].CellEditorManager = new CheckBoxEditor(chk_temp);

insertionRow1.Cells[15].CellViewerManager = new CheckBoxViewer(chk_temp);

PS:You say you need the initial state of the checkbox to be unchecked, but you set the attribute CheckState in the WinCheckBox Constructor to CheckState.Cheked.


 Alain Jreij,

 Technical Support

Imported from legacy forums. Posted by Alain [Xceed] (had 973 views)