次の方法で共有


ShapeSubField.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)

Invokes the in-place editor.

public:
 virtual void EditValue(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public virtual void EditValue (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
abstract member EditValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> unit
override this.EditValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> unit
Public Overridable 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:
 virtual 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 virtual 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);
abstract member EditValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> unit
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 Overridable 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