TextField.GetDisplayText(ShapeElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.