Programmatically setting focus to a tab

Docking/MDI for WPF Forum

Posted 15 years ago by Brian Stewart
Version: 9.1.0505

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.

Brian Stewart
Lockheed Martin

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
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 (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.