GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoObject Class / SuspendsUpdates Property
In This Topic
    SuspendsUpdates Property (GoObject)
    In This Topic
    Gets or sets whether any document Changed event handlers are called upon a change to this object.
    Syntax
    [Browsable(false)]
    public bool SuspendsUpdates {get; set;}

    Property Value

    A value of true means that any document Changed event handlers and any UndoManager are not called. No observer objects are notified either. A value of false means that the notifications do take place. The default value is false.
    Remarks

    Warning! You probably shouldn't be using this property.

    When this property is true, no views of this document will be updated as this object is changed, and no undo/redo information is kept. When you set the property to false again, you will need to make sure all the views are correct (you may wish to call InvalidateViews). You should also be sure the user and the UndoManager will not be confused by the loss of any undo/redo information while this property was true. Setting this property does not raise any Changed events.

    See Also