Is there a way to grey out the Dockable property (I manage to grey out Hide and Floating, but not Dockable...).
Hello,
Could you please attach a screenshot of your requirement, so I could think of solution for it.
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Well, the difference between my project and your example is that I have tabs. Apparently I can uncheck Dockable and then it appears as a Tab. I can't seem to find a way to grey out Dockable (or remove it completely).
Yes, to remove it completely, I believe that I gave you the answer already - please take a look at the attached sample.
Hello Boris,
I have the same problem as this, but the Dockable option still exist although I set the 'ShowCaption' property set to true.
Also, I want to remove dockable option from the tab.
Please let me know more details.
Hello guidegi,
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
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.
Thx. This fixed my problem.