How to determine whether any two controls are in the same tabbed group?

To determine whether two controls are in same tabbed group IsSameTabbedGroup method can be used.

this.dockingManager.IsSameTabbedGroup(this.listBox1,this.listBox2);
Me.dockingManager.IsSameTabbedGroup(Me.listBox1,Me.listBox2)