Programmatically setting focus to a tab

Docking/MDI for WPF Forum

Posted 10 years ago by Brian Stewart
Version: 9.1.0505
Avatar
Hi,

I am using the Docking library, and I have a Tabbed MDI container with a tab in it. I have a button on my ribbon menu, that if the user clicks it, will add a new tab to the MDI container. This part works correctly, but I cannot figure out how to force the tab to come to the forefront as the "active" tab of the MDI container.

Thanks!
Brian Stewart
Lockheed Martin

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Brian,

You can call the Activate() method on the window. That should ensure it is open and will focus it.


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.