This topic has not yet been rated - Rate this topic

ShapeElement.GetToolTipText Method

Gets the tooltip text for the shape to which the mouse is pointing.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public virtual string GetToolTipText(
	DiagramItem item
)

Parameters

item
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The shape, field, and child field to which the mouse is pointing.

Return Value

Type: System.String
The tooltip text for the shape.
public override string GetToolTipText(DslDiagrams::DiagramItem item)
{
return global::Fabrikam.CanonicalSample.CanonicalSampleDomainModel.SingletonResourceManager.GetString("PortNodeShapeTooltip");
}
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ