How to hide the top panel bar in a view?

In a ViewRecord, I can hide breadcrumbs by getBreadcrumbs() and hide view title by getTitle(). How can I hide the top panel bar?
Screenshot_2024-03-14_at_6.03.06_PM.png
Was this page helpful?