Compartilhar via


ShapeField.GetActiveInPlaceEditor(ShapeElement, DiagramClientView) 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 field.

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

Parameters

parentShape
ShapeElement

The ShapeElement that contains this field.

view
DiagramClientView

The view hosting the in-place editor.

Returns

Applies to