We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

can TabItemExt be docked outside the TabControlExt ?

Hi,

I'm interested in creating an editing area where almost similar to VS2010.

in a DockManager area I've placed a TabControlExt
containing several TabItemExt with the following attributes:

syncfusion:DockingManager.State="Dock"
syncfusion:DockingManager.CanDrag="True"
syncfusion:DockingManager.CanFloat="True"
syncfusion:DockingManager.DockAbility="All"
syncfusion:DockingManager.DesiredWidthInFloatingMode="200"
syncfusion:DockingManager.DesiredHeightInFloatingMode="350"
syncfusion:DockingManager.DesiredWidthInDockedMode="200"
syncfusion:DockingManager.DesiredHeightInDockedMode="350"
syncfusion:DocumentContainer.MDIBounds="0,0,300,300"

I was hopping that the TabItemExt can now be individually "undocked" and docked in other areas of the DockManager.

but this isn't so.
is it possible to make the TabItemExt dock outside the TabControlExt ?

thank you in advance.






5 Replies

SK Sakthi Kumar A Syncfusion Team February 28, 2011 10:32 AM UTC

Hi Viktor,

Thank you for using Syncfusion products.

We have created a sample which shows how to enable the TabControl inside Docking Manager. In our docking Manager, we have a feature called ‘UseDocumentContainer ‘ by setting this property value to true it enables TabControlExt in DockingManager using DocumentContainer. Also you can make use of all the DockingManager features in it .

Please refer the sample under the following location which illustrates the above features.

Also, you can refer the online documentation about Document Mode in DockingManager under the following link .

http://help.syncfusion.com/ug_91/User%20Interface/WPF/Tools/Documents/documentstatechild.htm

Please let us know if you have any queries.

Regards,
Sakthi



DockingManager_f56ce0fb.zip


VK Victor Kandalaft February 28, 2011 03:52 PM UTC

thank you!

the mock was very useful and helped me.

I have replaced my original TabItemExt with ContentControl,
I would have used a StackPanel as presented in the example, but
StackPanel, as it seems cannot contain a FlowDocument.

this example had helped me with the docking issue,
but now I'm looking into "placing back"
the visual effect of: CloseButtonType="IndividualOnMouseOver"
when I was using the TabControlExt.

is there away for that?



SK Sakthi Kumar A Syncfusion Team March 1, 2011 10:03 AM UTC

Hi Viktor,

We have created the sample to set the property Closebutton type as "IndividualOnMouseOver" to DockingManager tabs. Please refer the sample under the following location.

We have applied the style in XAML side as follows



These style was bound with the property "DocumentTabControlStyle" available in DockingManager.

Please let us know if you have any queries.

Regards,
Sakthi



DockingStyleSample_17d59400.zip


VK Victor Kandalaft March 2, 2011 01:04 PM UTC

Thank you for the example.

it did show me that it is possible and in fact it did what I asked.

however, I'm required to mock VS2010 tabs, that is:

when the Tab is in focus, it's closing X is visible while the rest of the Tabs that are on the panel, their closing X is hidden, but comes to view when placing the mouse over the tab.

I cannot find an easy way by using the CloseButtonType enum to perform that, it would be done perhaps through code.

two enums for CloseButtonType could come handy:
1. making the X visible for the focused tab
2. same as #1 and the tabs on the panel would revel their closing X on mouse over. (simulating VS2010 tabs)

I could not distinguish the visual difference between the enums (common/both/hidden) in this example: http://help.syncfusion.com/ug_82/SilverlightUI_Tools/CloseButtonType.html

running a test on the sample, the enums appear to behave:
1. Common similar to Hidden
2. Individual similar to Both

is there a limit to what I am trying to do in the sample?

thank you for your help.
good day.




SK Sakthi Kumar A Syncfusion Team April 18, 2011 12:59 PM UTC

Hi Viktor,

Currently we don't have the feature to show the Tabs close button on mouse when other Tab is selected. We have already logged this feature report and we will implement this feature in any of our upcoming releases. We usually have an interval of at least three months between releases. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity.

Please refer our Online Documentation link to know about the CloseButton type of TabControlExt.

http://help.syncfusion.com/ug_84/User%20Interface/Silverlight/Tools/Documents/closebuttontypes.htm

Please let us know if you have any queries.

Regards,
Sakthi


Loader.
Live Chat Icon For mobile
Up arrow icon