Bagikan melalui


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Overridable Function CanEditValue ( _
    parentShape As ShapeElement, _
    view As DiagramClientView _
) As Boolean
public virtual bool CanEditValue(
    ShapeElement parentShape,
    DiagramClientView view
)
public:
virtual bool CanEditValue(
    ShapeElement^ parentShape, 
    DiagramClientView^ view
)
abstract CanEditValue : 
        parentShape:ShapeElement * 
        view:DiagramClientView -> bool  
override CanEditValue : 
        parentShape:ShapeElement * 
        view:DiagramClientView -> bool
public function CanEditValue(
    parentShape : ShapeElement, 
    view : DiagramClientView
) : boolean

Parameters

Return Value

Type: 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

Microsoft.VisualStudio.Modeling.Diagrams Namespace