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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overridable Function HasPendingEdit ( _
parentShape As ShapeElement, _
view As DiagramClientView _
) As Boolean
'Usage
Dim instance As ShapeField
Dim parentShape As ShapeElement
Dim view As DiagramClientView
Dim returnValue As Boolean
returnValue = instance.HasPendingEdit(parentShape, _
view)
public virtual bool HasPendingEdit(
ShapeElement parentShape,
DiagramClientView view
)
public:
virtual bool HasPendingEdit(
ShapeElement^ parentShape,
DiagramClientView^ view
)
public function HasPendingEdit(
parentShape : ShapeElement,
view : DiagramClientView
) : boolean
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape element to which the shape field is assigned.
view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe diagram client view.
Return Value
Type: System.Boolean
true if the in-place editor is active and a change is pending; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.