GoDiagram Win Reference
OnDocumentChanged Method (GoView)

A GoDocument.
A GoChangedEventArgs describing the change.
Handle changes to the view's document or any of the document's layers or objects.
Syntax
'Declaration
 
Protected Overridable Sub OnDocumentChanged( _
   ByVal sender As Object, _
   ByVal e As GoChangedEventArgs _
) 
protected virtual void OnDocumentChanged( 
   object sender,
   GoChangedEventArgs e
)

Parameters

sender
A GoDocument.
e
A GoChangedEventArgs describing the change.
Remarks

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.

Requirements

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

See Also

Reference

GoView Class
GoView Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback