ShapeField.CanEditValue Method

Gets the shape field and verifies whether it can be edited.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
Public Overridable Function CanEditValue ( _
    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.CanEditValue(parentShape, _
    view)
public virtual bool CanEditValue(
    ShapeElement parentShape,
    DiagramClientView view
)
public:
virtual bool CanEditValue(
    ShapeElement^ parentShape, 
    DiagramClientView^ view
)
public function CanEditValue(
    parentShape : ShapeElement, 
    view : DiagramClientView
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the shape field can be edited; otherwise, false.

Remarks

By default, the return value is false.

.NET Framework Security

See Also

Reference

ShapeField Class

ShapeField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace