Is there an easy way to detect when a model has changes? I saw the DiagramModel.IsModified property, but it doesn’t look like that raises a PropertyChanged event. Ideally what I’d like to do is bind the Diagram.Name to a text element and append an asterisk if the model has not been saved. Also I’d like to enable my save command only when the model has changes.
I’m using WPF and have set HasUndoManager to true. I’d prefer to not call UndoManager.Clear() since it throws off the undo stack in my application. (It’s a rather odd, very custom undo system. I’ve plugged GoXam’s undo system into it.)