Hi,
My application implement xamDocManager where there are a two tabs currently docked on the main view.
Example: If i drag one tab and dock it on the right side panel, the view now show two tab on the right and left panel. This is the correct tab style i want to achieve.
However it i drag one tab out and let it float (floating window) and then drag the floating window to the right side panel, the style of the newly dock item is not similar to example i mention above. It won't be dock as a tab. Instead it looks like it docks as a window on the right side panel (there is no tab header). Is there any example on how to make docking floating window to be dock as a tab (similar to the Example)
Thanks in advance
Hello,
Thank you for your post.
I have been looking into it, but it seems like I am missing something about your scenario, so if this is still an issue for you, could you please send me, an isolated sample project, where this is reproduced, so I can investigate it further for you.
Looking forward to hearing from you.
I've attached a sample project. The problem is the styling docked panel if i drag a floating window. To reproduce drag out tab 1 (from the attached sample project) and leave it as a floating window. Then drag it to right panel. Now the main window should have 2 panels side by side(see the attachment). How can i make the style of the right panel to be docked as a tab instead window as shown in the attached image?
Thank you.
Here is the sample project
Thank you for your feedback.
I have been looking into your requirements and your sample application. What I can suggest in order to able to avoid Panel styling as your tab 1 from the screenshot that you have provided is to set the properties AllowInDocumentHost to true and AllowDocking to false for each ContentPane, so you will be able to drag the documents only in the same Document. You can read more details about both AllowInDocumentHost and AllowDocking properties from the following links:
http://help.infragistics.com/doc/WPF/2015.1/CLR4.0/?page=InfragisticsWPF4.DockManager.v15.1~Infragistics.Windows.DockManager.ContentPane~AllowInDocumentHost.html
http://help.infragistics.com/doc/WPF/2015.1/CLR4.0/?page=InfragisticsWPF4.DockManager.v15.1~Infragistics.Windows.DockManager.ContentPane~AllowDocking.html
I modified the sample application that you have provided to show you how you can implement this approach and achieve the functionality that you are looking for. Please let me know if I am missing something about your scenario.
If you require any further assistance on the matter, please do not hesitate to ask.
Hi there,
Thanks for your suggestion. I tried the solution you provided. However, we need to allow user to drag the tab and let it float. It would be good if there a way to make the floating window to be docked as a tab on the right panel when it is drag to it?
I'm happy to see someone else asking about this. I wanted this behavior 2-3 years ago and got the response that this behavior was similar to the Visual studio version it was modeled on. Well, Visual studio has changed since...
And I totally agree - if I use the center diamond to dock a floating window, it should be placed in the document content host, not in another splitpane
After working on the functionality that you are trying to achieve and doing some research, the functionality that you are looking for has been determined to be a new product idea. You can suggest new Product Ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.
Steps to create your idea:
Log into the Infragistics Product Ideas site at http://ideas.infragistics.com (creating a new login if needed).
Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)
Add your product idea and be sure to be specific and provide as much detail as possible.
Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!
Include a link to this thread in your idea so product management will be able to look back at this case.
The benefits of submitting the product idea yourself include:
Direct communication with our product management team regarding your product idea.
Notifications whenever new information regarding your idea becomes available.
Additional benefits of the Product Idea system include:
Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
Allow you to shape the future of our products by requesting new controls and products altogether.
You and other developers can discuss existing product ideas with members of our Product Management team.
The product ideas site allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Thank you for contacting Infragistics.