ToolWindowContainer.ItemsChanged event question

Docking/MDI for WPF Forum

Posted 13 years ago by Evgeny
Version: 11.1.0541

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 13 years ago by Actipro Software Support - Cleveland, OH, USA

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.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.