Changing visibility of container property