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


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

SpreadView Class
SpreadView Members
TabStripPolicy Property

User-Task Documentation

Customizing the Sheet Name Tabs

 

 


Copyright © GrapeCity, inc. All rights reserved.