DiagramView.Watermark Property
Returns LinkLabel which represents the watermark control on design surface. Use this property after HasWatermark is set to true to specify watermark text, link areas and link event handler.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Public ReadOnly Property Watermark As DiagramWatermark
Get
public DiagramWatermark Watermark { get; }
public:
property DiagramWatermark^ Watermark {
DiagramWatermark^ get ();
}
member Watermark : DiagramWatermark
function get Watermark () : DiagramWatermark
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramWatermark
.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.