共用方式為


DiagramView.Watermark Property

Returns LinkLabel which represents the watermark control on design surface. Use this property after HasWatermark is set to true to specify watermark text, link areas and link event handler.

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

Syntax

'宣告
Public ReadOnly Property Watermark As DiagramWatermark
    Get
public DiagramWatermark Watermark { get; }
public:
property DiagramWatermark^ Watermark {
    DiagramWatermark^ get ();
}
member Watermark : DiagramWatermark
function get Watermark () : DiagramWatermark

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramWatermark

.NET Framework Security

See Also

Reference

DiagramView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace