共用方式為


TextField.GetActiveInPlaceEditor Method

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.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Overrides Function GetActiveInPlaceEditor ( _
    parentShape As ShapeElement, _
    view As DiagramClientView _
) As Control
public override Control GetActiveInPlaceEditor(
    ShapeElement parentShape,
    DiagramClientView view
)
public:
virtual Control^ GetActiveInPlaceEditor(
    ShapeElement^ parentShape, 
    DiagramClientView^ view
) override
abstract GetActiveInPlaceEditor : 
        parentShape:ShapeElement * 
        view:DiagramClientView -> Control 
override GetActiveInPlaceEditor : 
        parentShape:ShapeElement * 
        view:DiagramClientView -> Control 
public override function GetActiveInPlaceEditor(
    parentShape : ShapeElement, 
    view : DiagramClientView
) : Control

Parameters

Return Value

Type: System.Windows.Forms.Control

.NET Framework Security

See Also

Reference

TextField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace