ShapeElement::GetToolTipText Method (DiagramItem^)

 

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

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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.

diagramitem

this contains the shape,field, and subfield under the cursor

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");
}
Return to top
Show: