다음을 통해 공유


ShapeField.CanEditValue(ShapeElement, DiagramClientView) Method

Definition

Returns a value indicating whether the value of this field can be edited.

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

Parameters

parentShape
ShapeElement

The ShapeElement instance that contains this field.

view
DiagramClientView

The view that will become the parent of the editor.

Returns

true if the value of this field can be edited.

Applies to