共用方式為


ShapeElement.HasToolTip Property

Gets the shape and verifies whether it has a tooltip.

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 HasToolTip As Boolean
    Get
public virtual bool HasToolTip { get; }
public:
virtual property bool HasToolTip {
    bool get ();
}
abstract HasToolTip : bool
override HasToolTip : bool
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