共用方式為


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

See Also

Reference

DiagramView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace