New docked ToolWindow tab needs to be focused through code.

Docking/MDI for WPF Forum

Posted 4 years ago by Piyush Parsai
Version: 15.1.0623
Avatar

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

Hello,

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 (v2018.1 build 0675) 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.