How to get PropertyValueChanged from a Collection editor?
From: Michael Kairys (michael-nospam_at_sl.com)
Date: 03/21/05
- Next message: Richard: "UML Object Model For A User/Custom Control Containing An Extended WinForms DataGrid - Best Practices For Paint, DataGridTableStyle GridColumnStyles, etc."
- Previous message: Michael Hoehne: "Error loading resource stream in Windows 2000"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Mar 2005 09:41:27 -0500
I have seen this problem posed several times in these newsgroups but I have
not seen a solution!
I am hosting a PropertyGrid in a dialog in a runtime application and giving
it one of my application objects. I am subscribing to PropertyValueChanged
and using it to know when to save the state of my object. One of the
object's properties is a Stringcollection for which the PropertyGrid invokes
the default colleciton editor.
The problem is that changing the collection contents in the collection
editor does not cause the property grid to raise PropertyValueChanged for
the collection property, and I have no way to know the property has changed
and I must take appropriate action.
This is a show-stopper problem for us. Has anyone found a solution?
-- Michael Kairys SL Corporation
- Next message: Richard: "UML Object Model For A User/Custom Control Containing An Extended WinForms DataGrid - Best Practices For Paint, DataGridTableStyle GridColumnStyles, etc."
- Previous message: Michael Hoehne: "Error loading resource stream in Windows 2000"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|