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

Syntax

'Declaration
Protected Overridable ReadOnly Property RequiresWatermark As Boolean
protected virtual bool RequiresWatermark { get; }
protected:
virtual property bool RequiresWatermark {
    bool get ();
}
abstract RequiresWatermark : bool with get 
override RequiresWatermark : bool with get
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace