WPF Docking

34 views
Skip to first unread message

TwainJ

unread,
Sep 7, 2015, 4:37:41 PM9/7/15
to Authoring Tools Framework
I'm working on a WPF ATF project, and cleaning up some functionality around open documents, and editors, etc.

I noticed a bug in the WPF sample app where if the user closes a document by clicking the Close button ('X' in the upper right corner of the document area), it hides the editor, but does not actually process a close on the document. I'm looking into a fix, but it appears that it might actually be a bug in the Atf.Gui.Wpf project, rather than the sample app itself. So I had some questions to help me track it down.

It looks like the Atf.Gui.WinForms project is using the DockPanelSuite (Weifen Luo) as it's docking solution, but near as I can tell, it looks like the docking for Atf.Gui.Wpf is done from scratch, all in the Atf.Gui.Wpf.Docking namespace. Is this true? 

I just want to make sure I am looking at all of the documentation before I go changing/adding things to the docking code.

Thanks,

Jason

Ron AtSony

unread,
Sep 7, 2015, 5:02:27 PM9/7/15
to TwainJ, Authoring Tools Framework
Hi Jason,

You're right that ATF's docking framework for Windows Presentation Foundation was done from scratch. That work was done by a team in London, and the ATF team adopted and merged that code. Most likely the events for closing windows is available to the client application (sorry, I don't have the code in front of me), but our sample app wasn't quite finished and the document is not closed and unloaded in response to the window close event.

--Ron



--
You received this message because you are subscribed to the Google Groups "Authoring Tools Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to authoring-tools-fr...@googlegroups.com.
Visit this group at http://groups.google.com/group/authoring-tools-framework.
For more options, visit https://groups.google.com/d/optout.

TwainJ

unread,
Sep 7, 2015, 5:07:57 PM9/7/15
to Authoring Tools Framework, ja...@2jdevelopment.com
Got it, Ron,

I think I should be able to sort it out from there.

Thanks for the background!

~JJ
Reply all
Reply to author
Forward
0 new messages