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: Booleantrue to show the shape and its children; 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.