You will probably want this object to be not Selectable. Setting this property to a value will set its Visible and Printable properties to have the same values as the old collapsed object, if any. If there was no previous collapsed object, this setter sets those two properties according to whether the subgraph is collapsed or not.