TabControl.getAllState

Default styling properties for the tab header. These properties can be overridden by setting properties to be applied when a tab has an explicit state.

Further documentation.

returns IndividualTabStateProperties