Home › Forums › WinForms controls › Xceed Grid for WinForms › CheckBoxEditor initial state
I have a little problem. In my insertionrow of a data bounded grid I have a checkbox editor. I need its initial state to be uncheked.
I tried this, but didn’t work. Any Ideas???
WinCheckBox chk_temp = new WinCheckBox(“test”, CheckState.Checked);
insertionRow1.Cells.CellEditorManager = new CheckBoxEditor(chk_temp);
insertionRow1.Cells.CellViewerManager = new CheckBoxViewer(chk_temp);
Actually it dows show the “test” label but the initial state is always Indeterminate.
Thank you very much
Imported from legacy forums. Posted by Andrea (had 1197 views)
WinCheckBox chk_temp = new WinCheckBox(“test”, CheckState.Unchecked);
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.
Imported from legacy forums. Posted by Alain [Xceed] (had 973 views)