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

Syntax

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