Share via


Diagram.RequiresWatermark Property

Gets the diagram and verifies whether a watermark should appear for it.

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

Syntax

'Declaration
Protected Overridable ReadOnly Property RequiresWatermark As Boolean
'Usage
Dim value As Boolean 

value = Me.RequiresWatermark
protected virtual bool RequiresWatermark { get; }
protected:
virtual property bool RequiresWatermark {
    bool get ();
}
protected function get RequiresWatermark () : boolean

Property Value

Type: System.Boolean
true if a watermark should appear on the diagram; otherwise, false.

Remarks

By default, the return value is true.

.NET Framework Security

See Also

Reference

Diagram Class

Diagram Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace