Hey,
I found out how to change the settings for the maximization, floatproperty etc of a DockableControlPane.
But is there a way to disable the option to autohide a DockableControlPane (better would be to undisplay the option (also other options)).
And is there also the possibility to change the captions of the menus ("floating", "autohide"....) because of language issues.
Thanks
Greetings
ckaupisch,
Set UltraDockManager.ControlPanes[0].Settings.AllowPin to False. This will disable the Pin button. in order to hide the pin button altogether, you will need to set UltraDockManager.ShowDisabledButtons to False as well.
~Kim~
Hey Kim,
thanks for your answer. I will have a look at the articles you've posted in your reply. To change the captions I will have to customize the resource settings. I have tested the settings for the pin-button you mentioned....that works fine - but unfortunately I can't find the ShowPinButton-setting directly for the pane or the paneAreas. I can just find these option for the whole dockmanager. My aim is to set this option only in one part of the manager off.
Is there also this "single" option?
Thanks in advance
I'm not exactly sure what you are looking for, but you can hide the entire caption area (contains the pin and red x buttons) for all panes in the UltraDockManager by setting UltraDockManager.DefaultPaneSettings.ShowCaption = false, or you can hide it on a pane-by-pane basis. If you want the caption but not the buttons, you can set UltraDockManager.ShowPinButton and ShowCloseButton to False.
In order to change the captions, you will need to customize the resource strings. For more information, please see this article in our online documentation. For a list of the UltraDockManager's resource strings, please see this article in our online documentation.