ListItemSubField.GetActiveInPlaceEditor 方法

定义

返回活动的就地编辑器的控件。 此方法可能返回 null,在这种情况下,对于此子字段,无就地编辑器处于活动状态。

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

参数

parentShape
ShapeElement

包含此子字段的 ShapeElement。

parentField
ShapeField

包含此子字段的 ShapeField。

view
DiagramClientView

承载就地编辑器的视图。

返回

Control

适用于