Hi,
How do I know which contentpane in a tabgrouppane is in focus. Is there an event attached to this?
If you're specifically asking about focus then you can use the WPF framework's focus related events (e.g. handle the Lost/GotKeyboardFocus) or check the IsKeyboardFocusWithin.If you mean which one represents the selected tab then no there is no event that is invoked on the ContentPane when an ancestor TabGroupPane has its SelectedItem changed. The TabGroupPane has a SelectionChanged but be careful because if you allow the user to drag the ContentPane then that may not be the parent of the pane if they drag it elsewhere, float it, etc. The TabGroupPane will not be moved.