Visual Basic (Declaration) | |
---|---|
Public Property TabStripRatio As Double |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SpreadView Dim value As Double instance.TabStripRatio = value value = instance.TabStripRatio |
C# | |
---|---|
public double TabStripRatio {get; set;} |
Property Value
Double-precision, floating point number representing the ratio of the tab strip width to scroll bar width
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.
This example sets the TabStripRatio property.
C# | Copy Code |
---|---|
FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook(); sv.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.Always; sv.TabStripRatio = 30; |
VB.NET | Copy Code |
---|---|
Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook sv.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.Always sv.TabStripRatio = 30 |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
Reference
SpreadView ClassSpreadView Members
TabStripPolicy Property