Compartilhar via


InPlaceTextEditor.EditValue Method

Definition

Overloads

EditValue(ShapeElement, ShapeField, ShapeSubField, DiagramClientView, PointD)

Invokes the in-place editor, setting the caret using the specified mouse position.

EditValue(ShapeElement, ShapeField, ShapeSubField, DiagramClientView, String)

Invokes the in-place editor, replacing the text with the specified text.

EditValue(ShapeElement, ShapeField, ShapeSubField, DiagramClientView)

Invokes the in-place editor.

EditValue(ShapeElement, ShapeField, ShapeSubField, DiagramClientView, PointD)

Invokes the in-place editor, setting the caret using the specified mouse position.

public:
 void EditValue(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::ShapeSubField ^ subfield, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view, Microsoft::VisualStudio::Modeling::Diagrams::PointD mousePosition);
public void EditValue (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField field, Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField subfield, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view, Microsoft.VisualStudio.Modeling.Diagrams.PointD mousePosition);
member this.EditValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> unit
Public Sub EditValue (parentShape As ShapeElement, field As ShapeField, subfield As ShapeSubField, view As DiagramClientView, mousePosition As PointD)

Parameters

parentShape
ShapeElement

The ShapeElement instance that contains this field.

field
ShapeField
subfield
ShapeSubField
view
DiagramClientView

The view that will host the editor.

mousePosition
PointD

The mouse position relative to the top-left of the diagram in world units.

Applies to

EditValue(ShapeElement, ShapeField, ShapeSubField, DiagramClientView, String)

Invokes the in-place editor, replacing the text with the specified text.

public:
 void EditValue(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::ShapeSubField ^ subfield, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view, System::String ^ replacementText);
public void EditValue (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField field, Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField subfield, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view, string replacementText);
member this.EditValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * string -> unit
Public Sub EditValue (parentShape As ShapeElement, field As ShapeField, subfield As ShapeSubField, view As DiagramClientView, replacementText As String)

Parameters

parentShape
ShapeElement

The ShapeElement instance that contains this field.

field
ShapeField
subfield
ShapeSubField
view
DiagramClientView

The view that will host the editor.

replacementText
String

The text that should replace the contents of the editor.

Applies to

EditValue(ShapeElement, ShapeField, ShapeSubField, DiagramClientView)

Invokes the in-place editor.

public:
 void EditValue(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::ShapeSubField ^ subfield, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public void EditValue (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField field, Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField subfield, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
member this.EditValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> unit
Public Sub EditValue (parentShape As ShapeElement, field As ShapeField, subfield As ShapeSubField, view As DiagramClientView)

Parameters

parentShape
ShapeElement

The ShapeElement instance that contains this field.

field
ShapeField
subfield
ShapeSubField
view
DiagramClientView

The view that will host the editor.

Applies to