Share via


TextField.GetDisplayText(ShapeElement) Method

Definition

Gets the text to be displayed by this field.

public:
 virtual System::String ^ GetDisplayText(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public virtual string GetDisplayText (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
abstract member GetDisplayText : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> string
override this.GetDisplayText : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> string
Public Overridable Function GetDisplayText (parentShape As ShapeElement) As String

Parameters

parentShape
ShapeElement

The parent ShapeElement of this field.

Returns

The text to be displayed by this field.

Remarks

Override this method to customize your text prior to drawing.

Applies to