Version

TabBarWidth Property

Gets or sets the width of the worksheet tab bar, expressed in 1/1000ths of the application width.
Syntax
'Declaration
 
Public Property TabBarWidth As Integer
public int TabBarWidth {get; set;}

Property Value

The width of the worksheet tab bar, expressed in 1/1000ths of the application width.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException The value assigned is outside the valid range of 0 and 1000.
Remarks

This value is only used if TabBarVisible is True. Regardless of whether the tab bar is visible, the width value is always saved with the workbook.

A value of 1000 indicates the worksheet tab bar occupies the entire width of the application, while a value of 0 indicates the worksheet tab bar has no width.

All space not occupied by the worksheet tab bar will be used by the horizontal scroll bar, if it is visible.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also