Sets the visibility of the component.
true if the component should be visible, false if it should be invisible.
See Implementation
Sets the visibility of the component.