Share via


ShapeField.HasPendingEdit Method

Gets the shape field and verifies whether its in-place editor is active and a change is pending.

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

Syntax

'Declaration
Public Overridable Function HasPendingEdit ( _
    parentShape As ShapeElement, _
    view As DiagramClientView _
) As Boolean
public virtual bool HasPendingEdit(
    ShapeElement parentShape,
    DiagramClientView view
)
public:
virtual bool HasPendingEdit(
    ShapeElement^ parentShape, 
    DiagramClientView^ view
)
abstract HasPendingEdit : 
        parentShape:ShapeElement * 
        view:DiagramClientView -> bool 
override HasPendingEdit : 
        parentShape:ShapeElement * 
        view:DiagramClientView -> bool 
public function HasPendingEdit(
    parentShape : ShapeElement, 
    view : DiagramClientView
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the in-place editor is active and a change is pending; otherwise, false.

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace