ShapeSubField.EditValue Method (ShapeElement, ShapeField, DiagramClientView, PointD)
Invokes the in-place editor, setting the caret using the specified mouse position.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Overridable Sub EditValue ( _
parentShape As ShapeElement, _
parentField As ShapeField, _
view As DiagramClientView, _
mousePosition As PointD _
)
public virtual void EditValue(
ShapeElement parentShape,
ShapeField parentField,
DiagramClientView view,
PointD mousePosition
)
public:
virtual void EditValue(
ShapeElement^ parentShape,
ShapeField^ parentField,
DiagramClientView^ view,
PointD mousePosition
)
abstract EditValue :
parentShape:ShapeElement *
parentField:ShapeField *
view:DiagramClientView *
mousePosition:PointD -> unit
override EditValue :
parentShape:ShapeElement *
parentField:ShapeField *
view:DiagramClientView *
mousePosition:PointD -> unit
public function EditValue(
parentShape : ShapeElement,
parentField : ShapeField,
view : DiagramClientView,
mousePosition : PointD
)
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe ShapeElement instance that contains this subfield.
parentField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeFieldThe parent ShapeField of this ShapeSubField.
view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe view that will host the editor.
mousePosition
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe mouse position relative to the top-left of the diagram in world units.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.