共用方式為


ShapeField.HasPendingEdit(ShapeElement, DiagramClientView) Method

Definition

Returns a value indicating whether in-place editing is active, with a commit pending.

public:
 virtual bool HasPendingEdit(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public virtual bool HasPendingEdit (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
abstract member HasPendingEdit : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> bool
override this.HasPendingEdit : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> bool
Public Overridable Function HasPendingEdit (parentShape As ShapeElement, view As DiagramClientView) As Boolean

Parameters

parentShape
ShapeElement

The ShapeElement that contains this field.

view
DiagramClientView

The view hosting the in-place editor.

Returns

true if in-place editing is active, with a commit pending.

Applies to