Partager 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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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: System.Boolean

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

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace