Diagram.WatermarkText Property
Gets the watermark text that is assigned to the diagram.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Public Overridable ReadOnly Property WatermarkText As String
Get
public virtual string WatermarkText { get; }
public:
virtual property String^ WatermarkText {
String^ get ();
}
abstract WatermarkText : string
override WatermarkText : string
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.
.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.