Collection of business objects implementing IEditableObject and "ReadOnly" DataGrid
I have a business object I created which supports the IEditableObject interface. I have a strongly typed collection class of these objects i created. When I bind the collection to a datagrid I want it to be read only. I created my own text box column which does not allow editing. My DataGrid table style is set to read only. My collection is set to read only. But for some reason whenever I select a row a BeginEdit and an EndEdit is called on my object. Why is this? Especially if the DataGridTableStyle is set to ReadOnly. What is going on? I have talked to other people using a similar business object implementation and they confirm this issue, does the TableStyle being set to ReadOnly not mean anything, did I miss something in my DataGridTextBoxColumn implementation I should override. Do I need to implement something on my collection object to tell the datagrid in some other way that I do not want it trying to edit my objects?
Help,
Paul Tyng