Currently we don't have a property to toggle the visibility of the tool bar. You can use the ElementTreeHelper though. Please refer to the attached project and let me know how it works for you.
Have a suggestion or face a problem - you can use the Ideas & Feedback portal
to submit ideas, feedback and vote for them.