Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoView Class : OnDocumentChanged Method |
'Declaration Protected Overridable Sub OnDocumentChanged( _ ByVal sender As Object, _ ByVal e As GoChangedEventArgs _ )
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2