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.

DataBinding Header of document in DockingManager

Thread ID:

Created:

Updated:

Platform:

Replies:

80924 May 4,2009 09:52 AM May 5,2009 09:16 AM WPF 1
loading
Tags: Tools
Arjan van der Stelt
Asked On May 4, 2009 09:52 AM

Hi,

I have a DockingManager in my application (see attachment) where I add documents. These documents that I add are of type UserControl (TestDocument).

TestDocument contains a string Title which I use to display the header of the document in the DockingManager. I'm doing this by using DataBinding:
syncfusion:DockingManager.Header="{Binding Title}"
This works fine for me when I use MDI mode but it looks like TDI mode (of DockingManager) does not support this.
Am I doing something wrong here?!

Kind regards,

Arjan



TestApplication_1648811e.zip

Prabhu P [Syncfusion]
Replied On May 5, 2009 09:16 AM

Hi Arjan,

Thank you for your interest in Syncfusion products.

From your attached sample, you were tried to set the usercontrol’s title using DockingManager. It is not possible and not a proper way to set the title to the UserControl. You have set the dock elements header while adding the element [UserControl] to the docking manager. We have made a necessary changes from your sample. Please find the sample from the link given below.

http://files.syncfusion.com/support/Tools.WPF/7.2.0.20/80924/main.htm

Hope this will fulfill your requirement. Please let us know if you have any other queries.

Thanks,
Prabu



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.

;