Delen via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public ReadOnly Property Watermark As DiagramWatermark
public DiagramWatermark Watermark { get; }
public:
property DiagramWatermark^ Watermark {
    DiagramWatermark^ get ();
}
member Watermark : DiagramWatermark with get
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