Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to implement an ability to drag tab headers outside the TabControl to create an external window

$
0
0

In most modern web browsers, it’s possible to drag page headers outside the browser to create a separate external window. This example demonstrates how this functionality can be implemented for the XtraTabControl.

Question Comments

Added By: Zachary Prezioso at: 1/14/2016 11:49:44 AM    

Would it be possible to make it work both ways?
In other words could you drag one window with tabs into the other and add the tabs that way? I'm looking for something that functions similarly to the way Google Chrome handles it.

Thanks,
Zach

Added By: Brendon Muck [DevExpress MVP] at: 1/14/2016 12:31:08 PM    

Zach,

Have you looked at the TabForm class (https://documentation.devexpress.com/#WindowsForms/clsDevExpressXtraBarsTabFormtopic)? I think this might offer you the functionality that you are looking for. If you view the WinForms Browser demo in the Demo Center, I think you'll see that it allows you to drag a tab away to create a new form, and then drag other tabs into that tab to be docked, much like Google Chrome.

Added By: Zachary Prezioso at: 1/14/2016 1:24:48 PM    

Hi Brendon,

Thank you, I did not know about that. I will take a look at it.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>