ListItemSubField.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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Public Overrides Sub EditValue ( _
parentShape As ShapeElement, _
parentField As ShapeField, _
view As DiagramClientView, _
mousePosition As PointD _
)
public override void EditValue(
ShapeElement parentShape,
ShapeField parentField,
DiagramClientView view,
PointD mousePosition
)
public:
virtual void EditValue(
ShapeElement^ parentShape,
ShapeField^ parentField,
DiagramClientView^ view,
PointD mousePosition
) override
abstract EditValue :
parentShape:ShapeElement *
parentField:ShapeField *
view:DiagramClientView *
mousePosition:PointD -> unit
override EditValue :
parentShape:ShapeElement *
parentField:ShapeField *
view:DiagramClientView *
mousePosition:PointD -> unit
public override function EditValue(
parentShape : ShapeElement,
parentField : ShapeField,
view : DiagramClientView,
mousePosition : PointD
)
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The ShapeElement instance that contains this subfield.
- parentField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
The parent ShapeField of this 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.