protected virtual void OnDocumentChanged( object sender, GoChangedEventArgs e )
Parameters
- sender
- A GoDocument.
- e
- A GoChangedEventArgs describing the change.
protected virtual void OnDocumentChanged( object sender, GoChangedEventArgs e )
By default this method just invalidates part or all of this view whenever an object is modified, inserted, or removed from a layer in this view's document, or when a document layer is modified, added, or removed, or when a document is changed. It also passes the event args on to all DocumentChanged event handlers registered with this view.
When the Document's GoDocument.PaperColor changes, we also try to update the brush of the Sheet's Paper.