ShapeField.GetVisible Method
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)
Syntax
'Declaration
Public Overridable Function GetVisible ( _
parentShape As ShapeElement _
) As Boolean
public virtual bool GetVisible(
ShapeElement parentShape
)
public:
virtual bool GetVisible(
ShapeElement^ parentShape
)
abstract GetVisible :
parentShape:ShapeElement -> bool
override GetVisible :
parentShape:ShapeElement -> bool
public function GetVisible(
parentShape : ShapeElement
) : boolean
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape element to which the shape field is assigned.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.