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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
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
- e
Type: System.Windows.Forms.InvalidateEventArgs
Invalidate event args.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.