Delen via


Diagram.WatermarkText Property

Gets the watermark text that is assigned to the diagram.

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 Overridable ReadOnly Property WatermarkText As String
public virtual string WatermarkText { get; }
public:
virtual property String^ WatermarkText {
    String^ get ();
}
abstract WatermarkText : string with get 
override WatermarkText : string with get
function get WatermarkText () : String

Property Value

Type: System.String
The watermark text that is assigned to the diagram.

Remarks

You can override this property to provide custom watermarks for different diagram types.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace