ShapeField.GetVisible Method

Gets the shape field and verifies whether it appears.

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

Syntax

'Declaration
Public Overridable Function GetVisible ( _
    parentShape As ShapeElement _
) As Boolean
'Usage
Dim instance As ShapeField 
Dim parentShape As ShapeElement 
Dim returnValue As Boolean 

returnValue = instance.GetVisible(parentShape)
public virtual bool GetVisible(
    ShapeElement parentShape
)
public:
virtual bool GetVisible(
    ShapeElement^ parentShape
)
public function GetVisible(
    parentShape : ShapeElement
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the shape field appears; otherwise, false.

Remarks

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

.NET Framework Security

See Also

Reference

ShapeField Class

ShapeField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace