ShapeSubField.GetActiveInPlaceEditor Method

Definition

Returns the control for the active in-place editor. This method may return null, in which case no in-place editor is active for this subfield.

public:
 virtual System::Windows::Forms::Control ^ GetActiveInPlaceEditor(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public virtual System.Windows.Forms.Control GetActiveInPlaceEditor (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
abstract member GetActiveInPlaceEditor : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> System.Windows.Forms.Control
override this.GetActiveInPlaceEditor : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> System.Windows.Forms.Control
Public Overridable Function GetActiveInPlaceEditor (parentShape As ShapeElement, parentField As ShapeField, view As DiagramClientView) As Control

Parameters

parentShape
ShapeElement

The ShapeElement that contains this subfield.

parentField
ShapeField

The ShapeField that contains this subfield.

view
DiagramClientView

The view hosting the in-place editor.

Returns

Applies to