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.
Unfortunately, activation email could not send to your email. Please try again.

dropping a window into the DockingStudioDemo

Thread ID:

Created:

Updated:

Platform:

Replies:

94677 May 26,2010 12:59 PM Jun 4,2010 09:46 AM ASP.NET Web Forms (Classic) 9
loading
Tags: Tools
EXAPT Systemtechnik GmbH
Asked On May 26, 2010 12:59 PM

I'm experimenting with the DockingStudio demo. My application creates a separate window class and I would like to drop this window in place of the content of one of the Docking Document Tab.

--
Christoph

Vallarasu S [Syncfusion]
Replied On May 27, 2010 09:48 AM

Hi Christoph,

Thanks for your interest in Syncfusion products,

To add a form or control as a tabbed document you can use the following code,
this.dockingManager1.SetAsMDIChild(form, true);

Sample demonstrating the usage of DockingManager with TabbedMDIManager is available at the following link,

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=DockingMAnager1678956048.zip

You can fine more information on MDI Child Transition at the following link,

Essential_Tools_Windows_User_Guide

Under Tools Controls >> Docking Package >> Concepts and Features >> Advanced Features >> MDI Child Transition

Please let us know if we have misunderstood your query,

Regards
Vallarasu S.

EXAPT Systemtechnik GmbH
Replied On May 28, 2010 04:10 AM

Thanks. THis is quite what I was looking for. I'm going to test this.

Would there be a way to do that (binding) in the Windows1.xaml file (ref. SyncFusion Docking Demo) also?

--
Christoph

EXAPT Systemtechnik GmbH
Replied On May 28, 2010 05:06 AM

> To add a form or control as a tabbed document you can use the
> following code,
> this.dockingManager1.SetAsMDIChild(form, true);

To which "SetAsMDIChild(form,true);" are you refering? Can't find it in the example.
--
Christoph

Vallarasu S [Syncfusion]
Replied On May 28, 2010 09:37 AM

Hi Christoph,

Thanks for the update,

If you mean to SaveDockState, We provide support to save the dockstate to XML file and can be done as follows,

AppStateSerializer Serializer = new AppStateSerializer(SerializeMode.XMLFile, "test_persist.xml");
bool loaded = this.dockingManager.LoadDockState(Serializer);

AppStateSerializer Serializer=new AppStateSerializer(SerializeMode.XMLFile, "test_persist.xml");
this.dockingManager.SaveDockState(Serializer);
Serializer.PersistNow();

Refer the sample at the following link which demostrates the above and the previous post,

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=DockingManagerSaveLoadState-1168002843.zip

Please let us know if we have misunderstood your query,

Regards
Vallarasu S.

EXAPT Systemtechnik GmbH
Replied On May 28, 2010 11:44 AM

As for putting the binding in the XAML, I think we misunderstood.
I'm refering to

C:\Users\user\AppData\Local\Syncfusion\EssentialStudio\8.2.0.18\WPF\Tools.WPF\Samples\3.5\WindowsSamples\Docking Manager\Docking Demo\CS

In this example Window1 is the central WPF-window into which the whole docking elements are built.

I have a second Window (Window2) which I want to appear in the tab:

syncfusion:DockingManager.Header="Hoops Window"
syncfusion:DockingManager.State="Document"
syncfusion:DockingManager.CanDock="False"
syncfusion:DocumentContainer.MDIBounds="60,60,300,300"
syncfusion:DockingManager.CanFloat="False"
>



There, where Grid Background="Black" is located I would like to hang in my Window2.

Or, as another solution, give that grid a name and use that as the drawing area or make it a canvas or whatever drawable.


Hope you understand me.

--
Christoph


EXAPT Systemtechnik GmbH
Replied On May 31, 2010 06:16 AM

>> To add a form or control as a tabbed document you can use the
>> following code,
>> this.dockingManager1.SetAsMDIChild(form, true);

> To which "SetAsMDIChild(form,true);" are you refering? Can't find
> it in the example.
> --
> Christoph

Found that SetAsMDIChild meanwhile in the DockingManager Class.

--
Christoph

EXAPT Systemtechnik GmbH
Replied On May 31, 2010 01:13 PM

I still have some difficuluties in applying what you meant by using SetAsMDIChild (which is flagged as unknown when using it in the Window1 constructor as a method of the DockingManager class.

Take the WPF DockingManager sample. This is what I would like to extend such that I can use the tab ContentControls as a drawing Window for my application. Presently these tabs are only assigned to resources defined in the WPFControls.xaml file.

--
Christoph

Mayavel K [Syncfusion]
Replied On June 3, 2010 11:11 AM

Hi Christoph,

Thank you for your intrest in syncfusion products.

You can use DockingManager.Children.Add(FrameworkElement element) command to add new window to docking manager.

please let us know if you have any queries.

Regards,
Mayavel K


EXAPT Systemtechnik GmbH
Replied On June 4, 2010 09:46 AM

Thanks. That's it.
--
Christoph

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;