Gets the visibility of the decorator that is assigned to a shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Function GetVisible ( _
parentShape As ShapeElement _
) As Boolean
'Usage
Dim instance As Decorator
Dim parentShape As ShapeElement
Dim returnValue As Boolean
returnValue = instance.GetVisible(parentShape)
public bool GetVisible(
ShapeElement parentShape
)
public:
bool GetVisible(
ShapeElement^ parentShape
)
public function GetVisible(
parentShape : ShapeElement
) : boolean
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape.
Return Value
Type: System.Boolean
true if the decorator is visible; otherwise, false.
.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.