Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
144
What does Hide do?
posted

What does the Hide option in a pane's header menu do?

I know the default behavior of a pane is to hide when closed, rather than actually removing the pane. Is this what the Hide option does? If so, I would think that "Close" would be a more appropriate term, to match the tool tip on the X button. The user does not care what happens behind the scenes.

Is it possible to remove this option from a pane's header menu?

Parents
No Data
Reply
  • 54937
    Verified Answer
    Offline posted

    Hiding invokes the Close command. The text displayed to the end user is consistent with what you see in VS. You can change the text if you wish using the ResourceCustomizer. If you want to remove the menu item then you can look at handling the OptionsMenuOpening of the ContentPane and look for a menu item whose command is ContentPaneCommands.Close. Note if you remove menu items then you may also need to add code to remove any unneeded separators.

Children