Gets the in-place editor that is active.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Function GetActiveInPlaceEditor ( _
parentShape As ShapeElement, _
view As DiagramClientView _
) As Control
'使用
Dim instance As ShapeField
Dim parentShape As ShapeElement
Dim view As DiagramClientView
Dim returnValue As Control
returnValue = instance.GetActiveInPlaceEditor(parentShape, _
view)
public virtual Control GetActiveInPlaceEditor(
ShapeElement parentShape,
DiagramClientView view
)
public:
virtual Control^ GetActiveInPlaceEditor(
ShapeElement^ parentShape,
DiagramClientView^ view
)
public function GetActiveInPlaceEditor(
parentShape : ShapeElement,
view : DiagramClientView
) : Control
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape element to which the shape field is assigned.
view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe client view for the diagram.
Return Value
Type: System.Windows.Forms.Control
The in-place editor that is active or a null reference (Nothing in Visual Basic) if no in-place editor is active.
Permissions
- 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.