TextField::GetDisplayText Method (ShapeElement^)

 

Gets the text to be displayed by this field.

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^ GetDisplayText(
	ShapeElement^ parentShape
)

Parameters

parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^

The parent ShapeElement of this field.

Return Value

Type: System::String^

Override this method to customize your text prior to drawing. By default it returns GetValue(shapeElement).ToString()

Return to top
Show: