Share via


DiagramWatermark.OnInvalidated Method

Override OnInvalidated to check whether we should hide watermark when a new element added to the diagram.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Protected Overrides Sub OnInvalidated ( _
    e As InvalidateEventArgs _
)
protected override void OnInvalidated(
    InvalidateEventArgs e
)
protected:
virtual void OnInvalidated(
    InvalidateEventArgs^ e
) override
abstract OnInvalidated : 
        e:InvalidateEventArgs -> unit  
override OnInvalidated : 
        e:InvalidateEventArgs -> unit
protected override function OnInvalidated(
    e : InvalidateEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

DiagramWatermark Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace