ToolWindowContainer.ItemsChanged event question

Docking/MDI for WPF Forum

Posted 14 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 14 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 (v24.1.3) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.