Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
535
restore style after floating
posted

Hi there,

I’m trying to implement your xamDockManager in our application but I stumbled over the behavior that a floating pane will be removed from the xamDockManager controls visual tree.

But first a short introduction of my implementation. At first I implemented the behavior that allows me to bind to a collection, which represents my views (http://ko.infragistics.com/community/blogs/blagunas/archive/2013/09/24/xamdockmanager-data-binding-contentpanes-with-mvvm.aspx). In the panes I show a xamDataGrid with the ability to dynamically add/remove columns from the grid and I give every column its own style, depending on various cases. So most of my UnboundFields have an own unique style.

But because of the above mentioned behavior I’m facing now the problem that all my column-styles are gone and no values are shown anymore when I move the tab. So obvious I need a solution that allows me to keep my styles without rebuilding them and also save my position of my selected or focused row/column.

I read in several posts/documentation that I should use the ToolWindowLoad/ToolWindowUnload event to set my styles, but at the moment I’m not really sure how I can achieve this.

I created a small example of my current implementation.

 

BR

Andreas Hensel

XamDockManagerTesting.zip
Parents Reply Children
No Data