Share via


ListItemSubField.EditValue Method

Definition

Overloads

EditValue(ShapeElement, ShapeField, DiagramClientView)

Invokes the in-place editor.

EditValue(ShapeElement, ShapeField, DiagramClientView, PointD)

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

EditValue(ShapeElement, ShapeField, DiagramClientView, String)

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

EditValue(ShapeElement, ShapeField, DiagramClientView)

Invokes the in-place editor.

public:
 override void EditValue(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public override void EditValue (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
override this.EditValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> unit
Public Overrides Sub EditValue (parentShape As ShapeElement, parentField As ShapeField, view As DiagramClientView)

Parameters

parentShape
ShapeElement

The ShapeElement instance that contains this subfield.

parentField
ShapeField

The parent ShapeField of this ShapeSubField.

view
DiagramClientView

The view that will host the editor.

Applies to

EditValue(ShapeElement, ShapeField, DiagramClientView, PointD)

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

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

Parameters

parentShape
ShapeElement

The ShapeElement instance that contains this subfield.

parentField
ShapeField

The parent ShapeField of this 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, 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 ^ parentField, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view, System::String ^ replacementText);
public void EditValue (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view, string replacementText);
override this.EditValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * string -> unit
Public Sub EditValue (parentShape As ShapeElement, parentField As ShapeField, view As DiagramClientView, replacementText As String)

Parameters

parentShape
ShapeElement

The ShapeElement instance that contains this subfield.

parentField
ShapeField

The parent ShapeField of this ShapeSubField.

view
DiagramClientView

The view that will host the editor.

replacementText
String

The text that should replace the contents of the editor.

Applies to