ShapeSubField.CanEditValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value indicating whether the value of this subfield can be edited.
public:
virtual bool CanEditValue(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public virtual bool CanEditValue (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
abstract member CanEditValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> bool
override this.CanEditValue : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> bool
Public Overridable Function CanEditValue (parentShape As ShapeElement, parentField As ShapeField, view As DiagramClientView) As Boolean
Parameters
- parentShape
- ShapeElement
The ShapeElement instance that contains this subfield.
- parentField
- ShapeField
The parent ShapeField of this ShapeSubField.
- view
- DiagramClientView
The view that will become the parent of the editor.
Returns
true if the value of this field can be edited.