Spread Windows Forms 11.0 Product Documentation
TabStripRatio Property (SpreadView)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : TabStripRatio Property
Gets or sets the width of the tab strip in the view expressed as a percentage of the overall horizontal width of the control.
Syntax
'Declaration
 
Public Property TabStripRatio As Double
'Usage
 
Dim instance As SpreadView
Dim value As Double
 
instance.TabStripRatio = value
 
value = instance.TabStripRatio
public double TabStripRatio {get; set;}

Property Value

Double-precision, floating point number representing the ratio of the tab strip width to scroll bar width

Remarks

If you set the ratio by dragging the tab strip bar in Spread Designer, the new setting for the ratio is not saved unless you make another change in Spread Designer or click the Properties list.

For more information about displaying sheet tabs, see Customizing the Sheet Name Tabs.

Example
This example sets the TabStripRatio property.
FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
sv.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.Always;        
sv.TabStripRatio = 30;
Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook
sv.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.Always
sv.TabStripRatio = 30
See Also

Reference

SpreadView Class
SpreadView Members
TabStripPolicy Property

User-Task Documentation

Customizing the Sheet Name Tabs