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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.