You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was facing an issue with the bindings when showing/hideing the whole dockingmanager by removing it from the VisualTree.
Issue occured when we have a floating window which is loaded and closed accordingly to the add/remove of dockingmanager.
We solved the issue by calling SetBinding(VisibilityProperty, string.Empty); in OnClose-Method of LayoutAnchorableFloatingWindowControl. Now it looks like this:
protected override void OnClosed( EventArgs e )
{
var root = Model.Root;
root.Manager.RemoveFloatingWindow( this );
root.CollectGarbage();
if( _overlayWindow != null )
{
_overlayWindow.Close();
_overlayWindow = null;
}
base.OnClosed( e );
if( !CloseInitiatedByUser )
{
root.FloatingWindows.Remove( _model );
}
SetBinding(VisibilityProperty, string.Empty);
_model.PropertyChanged -= new System.ComponentModel.PropertyChangedEventHandler( _model_PropertyChanged );
}
Maybe this fix is of interest for you. Otherwise, just close the issue.
kind regards
mettex
The text was updated successfully, but these errors were encountered:
Users of the community version currently have v3.4.
Users of the Commercial version currently have v3.7.
You can try for free the commercial version here : http://xceed.com/xceed-toolkit-plus-for-wpf/
Thank you.
Dirkster99
added a commit
to Dirkster99/AvalonDock
that referenced
this issue
Jul 26, 2018
Hi,
I was facing an issue with the bindings when showing/hideing the whole dockingmanager by removing it from the VisualTree.
Issue occured when we have a floating window which is loaded and closed accordingly to the add/remove of dockingmanager.
We solved the issue by calling
SetBinding(VisibilityProperty, string.Empty);
in OnClose-Method of LayoutAnchorableFloatingWindowControl. Now it looks like this:Maybe this fix is of interest for you. Otherwise, just close the issue.
kind regards
mettex
The text was updated successfully, but these errors were encountered: