ShapeField::GetVisible Method (ShapeElement^)

 

Gets the shape field and verifies whether it appears.

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 GetVisible(
	ShapeElement^ parentShape
)

Parameters

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

The shape element to which the shape field is assigned.

Return Value

Type: System::Boolean

true if the shape field appears; otherwise, false.

Override this method to dynamically change the visibility of the ShapeField based on the ShapeElement instance.

Return to top
Show: