CheckedChanged event from SourceGrid.Cells.CheckBox

Sep 16, 2009 at 6:01 AM

Hi all,

I need access to ChackedChanged event of SourceGrid.Cells.CheckBox, and I don't know how to do it, I don't even know if SourceGrid.Cells.CheckBox exposes such event?

Any help apprecieted,



Sep 16, 2009 at 6:58 AM


There is a "Control" property of an Editor. That control is probably a Windows.Forms.Checkbox type, and then you can subscribe to CheckedChanged event

Sep 16, 2009 at 7:25 AM

Thanks for the response, but still I can't figure out the solution. If you could give me some more hints I'd be grateful. Below is my code:

            SourceGrid.Cells.CheckBox cb = new SourceGrid.Cells.CheckBox(null, true);
            m_BinaryAnalogInputsGrid[3, 3] = cb;
            SourceGrid.Cells.Editors.EditorBase editor = m_BinaryAnalogInputsGrid[3, 3].Editor; //Because there is no SourceGrid.Cells.Editors.CheckBox
            Control c = editor.Control; //this won't compile because EditorBase doesn't have a property Control




Sep 23, 2009 at 1:33 PM

Sorry, but it actually did not have that event. I added it now, see sample 03, and search for a delegate named "InvertDisabledCheckBox", it attaches to CheckedChanged event.


Hope this helps