DiagramView.OnWatermarkCreated Method
Called after the watermark for this view has been created. Override this method to provide custom behavior, like adding particular links to the Watermark (it derives from the WinForms LinkLabel control).
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Protected Overridable Sub OnWatermarkCreated
protected virtual void OnWatermarkCreated()
protected:
virtual void OnWatermarkCreated()
abstract OnWatermarkCreated : unit -> unit
override OnWatermarkCreated : unit -> unit
protected function OnWatermarkCreated()
.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.