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
It seems as though this problem goes away if I recreate the DockContent inside LoadFromXml() instead of re-using the saved content.
When comparing the properties of the DockContent from before calling content.Show(dockPanel, floatBounds); to after setting content.DockPanel = null;, I noticed the IsFloat property was not reset back to false.
I was not able to directly set content.IsFloat = false; as setting the property called CheckDockState() which ended up returning DefaultDockState, which ended up returning the ShowHint, which was DockState.Float.
I have been able to work around the problem by temporarily setting the ShowHint to DockState.Unknown, setting IsFloat = false; then setting 'ShowHintback toDockState.Float`.
This seems to stop the exception from happening, from my initial testing.
Hello,
I know this issue has been raised at least twice before now ( #226 #502 ), but I am experiencing this with the following steps:
Below is a code sample that will reproduce the exception. I am using version 3.04 and 3.10.
I'm hoping that I'm doing something wrong and it isn't a bug, but any help or pointers to get though this would be very much appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: