This documentation is archived and is not being maintained.

ShapeElement.SetShowHideState Method

Sets the visibility of the shape and all its children.

Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in microsoft.visualstudio.modeling.diagrams.dll)

public void SetShowHideState (
	bool show
)
public void SetShowHideState (
	boolean show
)
public function SetShowHideState (
	show : boolean
)

Parameters

show

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

Show: