getSelectedItem ();
The getSelectedItem method gets the active tab.
The example of method use is given in description of the CategorySelected event.
See also:
Ribbon