Thanks for contacting Syncfusion support.
We have checked the reported query "Disable visibility of sub files without disturbing the contents inside it" and it could be achieved through sample level itself. We have not found the attached image in this incident, could you please update the illustrated image for your requirement. It could be useful for us and provide the better solution.
Dinesh Babu Yadav