ShapeField.GetActiveInPlaceEditor Method
Gets the in-place editor that is active.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Overridable Function GetActiveInPlaceEditor ( _
parentShape As ShapeElement, _
view As DiagramClientView _
) As Control
public virtual Control GetActiveInPlaceEditor(
ShapeElement parentShape,
DiagramClientView view
)
public:
virtual Control^ GetActiveInPlaceEditor(
ShapeElement^ parentShape,
DiagramClientView^ view
)
abstract GetActiveInPlaceEditor :
parentShape:ShapeElement *
view:DiagramClientView -> Control
override GetActiveInPlaceEditor :
parentShape:ShapeElement *
view:DiagramClientView -> Control
public function GetActiveInPlaceEditor(
parentShape : ShapeElement,
view : DiagramClientView
) : Control
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape element to which the shape field is assigned.
- view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The client view for the diagram.
Return Value
Type: System.Windows.Forms.Control
The in-place editor that is active or null if no in-place editor is active.
.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.