TextField.EditValue Method (ShapeElement, 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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overrides Sub EditValue ( _
parentShape As ShapeElement, _
view As DiagramClientView, _
mousePosition As PointD _
)
public override void EditValue(
ShapeElement parentShape,
DiagramClientView view,
PointD mousePosition
)
public:
virtual void EditValue(
ShapeElement^ parentShape,
DiagramClientView^ view,
PointD mousePosition
) override
abstract EditValue :
parentShape:ShapeElement *
view:DiagramClientView *
mousePosition:PointD -> unit
override EditValue :
parentShape:ShapeElement *
view:DiagramClientView *
mousePosition:PointD -> unit
public override function EditValue(
parentShape : ShapeElement,
view : DiagramClientView,
mousePosition : PointD
)
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe ShapeElement instance that contains this field.
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.