What is the property to get the selected tab index

Grids for WPF Forum

Posted 8 years ago by Arun
Version: 11.1.0544
Avatar
i am using docking:DocumentWindow
what is the property to get the tab which is selected.. ?

Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hello,

I believe you meant to post this in the Docking & MDI for WPF forum. This is the PropertyGrid for WPF forum.

To answer your question though, there can be any number of "selected" documents when using a tabbed MDI. So there is no easy way to track the "selected" item.

Each group of documents is contained in a TabbedMdiContainer, which has a SelectedWindow/SelectedItem property. But again there can be any number of these TabbedMdiContainer's based on the current layout. Typically, the TabbedMdiHost.PrimaryWindow is used to track the last document activated by the user.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 12 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.