Udostępnij za pośrednictwem


ShapeSubField.HasPendingEdit 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::ShapeField ^ parentField, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public virtual bool HasPendingEdit (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
abstract member HasPendingEdit : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> bool
override this.HasPendingEdit : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> bool
Public Overridable Function HasPendingEdit (parentShape As ShapeElement, parentField As ShapeField, view As DiagramClientView) As Boolean

Parameters

parentShape
ShapeElement

The ShapeElement that contains this subfield.

parentField
ShapeField

The ShapeField that contains this subfield.

view
DiagramClientView

The view hosting the in-place editor.

Returns

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

Applies to