ToolWindowContainer.ItemsChanged event question

Docking/MDI for WPF Forum

Posted 8 years ago by Evgeny
Version: 11.1.0541
Avatar
Hi,

When i drag ToolWindow from ToolWindowContainer, ToolWindowContainer.ItemsChanged event occured. But e.Action property value is "Reset", not "Remove". ToolWindowContainer.Items.Count property remains old value (same value as before dragging ToolWindow). Is this correct behavior?

Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hello,

That event is provided and raised by WPF, as it's part of the ItemsControl class. In general though, dragging a ToolWindow from a ToolWindowContainer will result in one element being removed (the ToolWindow) and one element being added (a tracking object). The tracking object is used when re-docking the ToolWindow.


Actipro Software Support

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.