共用方式為


ShapeElement.HasToolTip Property

Gets the shape and verifies whether it has a tooltip.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property HasToolTip As Boolean
public virtual bool HasToolTip { get; }
public:
virtual property bool HasToolTip {
    bool get ();
}
abstract HasToolTip : bool with get 
override HasToolTip : bool with get
function get HasToolTip () : boolean

Property Value

Type: System.Boolean
true if the shape has a tooltip; otherwise, false.

Remarks

By default, the return value is true.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace