共用方式為


DiagramView.Watermark Property

Definition

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.

public:
 property Microsoft::VisualStudio::Modeling::Diagrams::DiagramWatermark ^ Watermark { Microsoft::VisualStudio::Modeling::Diagrams::DiagramWatermark ^ get(); };
public Microsoft.VisualStudio.Modeling.Diagrams.DiagramWatermark Watermark { get; }
member this.Watermark : Microsoft.VisualStudio.Modeling.Diagrams.DiagramWatermark
Public ReadOnly Property Watermark As DiagramWatermark

Property Value

Applies to