Gets the watermark text that is assigned to the diagram.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable ReadOnly Property WatermarkText As String
'使用
Dim instance As Diagram
Dim value As String
value = instance.WatermarkText
public virtual string WatermarkText { get; }
public:
virtual property String^ WatermarkText {
String^ get ();
}
public 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.
Permissions
- 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.