InPlaceTextEditor.EditValue Method (ShapeElement, ShapeField, ShapeSubField, 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Public Sub EditValue ( _
parentShape As ShapeElement, _
field As ShapeField, _
subfield As ShapeSubField, _
view As DiagramClientView, _
mousePosition As PointD _
)
public void EditValue(
ShapeElement parentShape,
ShapeField field,
ShapeSubField subfield,
DiagramClientView view,
PointD mousePosition
)
public:
void EditValue(
ShapeElement^ parentShape,
ShapeField^ field,
ShapeSubField^ subfield,
DiagramClientView^ view,
PointD mousePosition
)
member EditValue :
parentShape:ShapeElement *
field:ShapeField *
subfield:ShapeSubField *
view:DiagramClientView *
mousePosition:PointD -> unit
public function EditValue(
parentShape : ShapeElement,
field : ShapeField,
subfield : ShapeSubField,
view : DiagramClientView,
mousePosition : PointD
)
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The ShapeElement instance that contains this field.
- subfield
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField
- view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The view that will host the editor.
- mousePosition
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The 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.