This project has moved and is read-only. For the latest updates, please go here.

how do i capture the [Caption] changed event

Sep 24, 2012 at 6:13 PM

can i wire into the [Caption] changed event?  (on the mainform) somehow?

Sep 27, 2012 at 9:08 AM

The responsible interface method would be IDiagramPresenter.OpenCaptionEditor... but unfortunately the display implements this interface explicitly and due to this fact, you can neither override it nor call the base class' implementation. The only possible way would be to derive your own display and implement the IDisplayPresenter.OpenCaptionEditor methods yourself.

If you don't mind that the editing already took place, you can handle the IRepository.ShapesUpdated event and compare the contents of the caption(s).