ShapeField::CanEditValue Method (ShapeElement^, DiagramClientView^)

 

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

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

public:
virtual bool CanEditValue(
	ShapeElement^ parentShape,
	DiagramClientView^ view
)

Parameters

parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^

The shape element instance that contains the shape field.

view
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramClientView^

The client view for the diagram.

Return Value

Type: System::Boolean

true if the shape field can be edited; otherwise, false.

By default, the return value is false.

Return to top
Show: