GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / OnDocumentChanged Method
A GoDocument.
A GoChangedEventArgs describing the change.
In This Topic
    OnDocumentChanged Method (GoView)
    In This Topic
    Handle changes to the view's document or any of the document's layers or objects.
    Syntax
    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.

    See Also