Is there a way to grey out the Dockable property (I manage to grey out Hide and Floating, but not Dockable...).
Thx. This fixed my problem.
You can remove the Dockable option by setting the panes Settings.CanDisplayAsMdiChild to DefaultableBoolean.False. For example in the sample that Boris provided you could add a single line to the foreach loop to do this:
private void Form1_Load(object sender, EventArgs e){ ultraDockManager1.DockAreas[0].Settings.ShowCaption = Infragistics.Win.DefaultableBoolean.False; foreach (DockableControlPane pane in ultraDockManager1.ControlPanes) { pane.Settings.ShowCaption = Infragistics.Win.DefaultableBoolean.True; pane.Settings.CanDisplayAsMdiChild = Infragistics.Win.DefaultableBoolean.False; }}
Let me know if you have any questions with this matter.
Hello guidegi,
After some research, the "Ability to disable the 'Dockable' option in the context menu" has been determined to be a new product idea. I have sent your idea directly to our product management team.
Our product team chooses new ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time.
Your reference number for this product idea is PI12080071.
If you would like to follow up on your request at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
I changed your sample code.
1) I added ultraTabbedMdiManager.
2) and I changed the "IsMdiContainer" property of Form1 to True.
Then, the 'Dockable' option appeared. Can I remove this 'Dockable' option?
Did you check the sample in one of my previous posts? I have achieved the desired behavior in it. Please take a look and let me know if you have any questions, the sample is called DockSettingsCaption.zip