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.
Here is the screenshot.
http://i1168.photobucket.com/albums/r494/johlero/ScreenShots/Capture.png
thx, Lieven Cardoen
Hello Lieven,
I was not able to reproduce your scenario, could you please take a look at the attached sample, make the necessary modifications and send it back to me so I could continue working on your solution.
Hi Boris,
How have you done this, to remove Dockable? Which property should be set?
thx, Lieven
This behavior is by default but it seems to me that you would have to set the 'ShowCaption' property to False on the control panes and to 'True' on the dock area.
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).
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