New docked ToolWindow tab needs to be focused through code.

Docking/MDI for WPF Forum

Posted 9 years ago by Piyush Parsai
Version: 15.1.0623

Hello Team,

We are using ToolWindowContainer containing two ToolWindow out of which one is not visible however when we make second window Open() it opens up behind the one already open. Is there a way we can perform focusing on the newly added window through code?

Comments (1)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA


If you call Activate() instead of Open() then it will ensure the tool window's tab is selected and the content is focused.  Activate() internally calls Open() logic first before it does the tab selection and focusing.

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.