共用方式為


TextField.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:
 override System::Windows::Forms::Control ^ GetActiveInPlaceEditor(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public override System.Windows.Forms.Control GetActiveInPlaceEditor (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
override this.GetActiveInPlaceEditor : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> System.Windows.Forms.Control
Public Overrides 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