Spread WPF Documentation
TabStripRatio Property (GcSpreadSheet)
Example 


Gets or sets the width of the tab strip for this component expressed as a percentage of the overall horizontal scroll bar width.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.CategoryAttribute("Spread Workbook")>
Public Property TabStripRatio As System.Double
'Usage
 
Dim instance As GcSpreadSheet
Dim value As System.Double
 
instance.TabStripRatio = value
 
value = instance.TabStripRatio
[System.ComponentModel.DefaultValue()]
[System.ComponentModel.Category("Spread Workbook")]
public System.double TabStripRatio {get; set;}
Example
This example uses the TabStripRatio property.
gcSpreadSheet1.TabStripEditable = true;
gcSpreadSheet1.TabStripInsertTab = true;
gcSpreadSheet1.TabStripVisibility = System.Windows.Visibility.Visible;
gcSpreadSheet1.TabStripRatio = 60;
gcSpreadSheet1.Invalidate();  
GcSpreadSheet1.TabStripEditable = True
GcSpreadSheet1.TabStripInsertTab = True
GcSpreadSheet1.TabStripVisibility = System.Windows.Visibility.Visible
GcSpreadSheet1.TabStripRatio = 60
GcSpreadSheet1.Invalidate()
Requirements

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

See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.