InPlaceTextEditor::EditValue Method (ShapeElement^, ShapeField^, ShapeSubField^, DiagramClientView^, String^)
Visual Studio 2015
Invokes the in-place editor, replacing the text with the specified text.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: void EditValue( ShapeElement^ parentShape, ShapeField^ field, ShapeSubField^ subfield, DiagramClientView^ view, String^ replacementText )
Parameters
- parentShape
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^
The ShapeElement instance that contains this field.
- field
- Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeField^
- subfield
- Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeSubField^
- view
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramClientView^
The view that will host the editor.
- replacementText
-
Type:
System::String^
The text that should replace the contents of the editor.
Show: