Share via


ShapeElement.SetShowHideState Method

Sets the visibility of the shape and all its children.

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

Syntax

'Declaration
Public Sub SetShowHideState ( _
    show As Boolean _
)
public void SetShowHideState(
    bool show
)
public:
void SetShowHideState(
    bool show
)
member SetShowHideState : 
        show:bool -> unit
public function SetShowHideState(
    show : boolean
)

Parameters

  • show
    Type: Boolean

    true to show the shape and its children; otherwise, false.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace