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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DockingManager MVVM

Thread ID:

Created:

Updated:

Platform:

Replies:

105650 Nov 8,2012 09:10 PM UTC Feb 25,2013 12:37 PM UTC WPF 1
loading
Tags: Tools
Sanir Cosovic
Asked On November 8, 2012 09:10 PM UTC

Is there a way to use DockingManager in MVVM. I'm trying to bind DesiredWidthInDockedMode to a property which will control the width during runtime.

Something like: sf:DockingManager.DesiredWidthInDockedMode="{Binding MyWidth, Mode=TwoWay}"

When I resize the pane and I close the window I can read MyWidth and save it. When I reopen the window again I set MyWidth back to the saved value, but the actual width of the pane does not match what I set it at.

Thanks...

Muthalagu M [Syncfusion]
Replied On February 25, 2013 12:37 PM UTC

Hi Sanir,

Thanks for using Syncfusion Products.

Since our WPF Docking Manager is not an items control and it is not possible to acheive the MVVM pattern by normal way.But this can be acheived by creating an adapter or wrapper for the Docking Manager.

Could you please refer the below article to acheive the MVVM pattern in Docking Manager.

http://www.syncfusion.com/blogs/post/MVVM-Adapter-for-WPF-Docking-Manager.aspx

Please let us know if you have any queries.

Regards,
Muthalagu

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.

Warning Icon 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.Close Icon

;