Removing a TabControl Control’s TabPage Headers

The Windows Forms tabcontrol of .NET Framework 1.0 and 1.1 doesn’t provide support for removing the tabpage headers in order to allow alternative ways of tabpage navigation. The headers can be removed by setting the tabcontrol’s Region property to a rectangle with the shape taken from the first tabpage’s position and size:

Me.TabControl1.Region = _
    New Region( _
        New RectangleF( _
            Me.TabPage1.Left, _
            Me.TabPage1.Top, _
            Me.TabPage1.Width, _
            Me.TabPage1.Height _
        ) _
    )

Additional information on the Windows Forms tabcontrol: Mick Doherty’s TabControl Tips.