Using the TabStrip

The tab strip allows the user to change sheets, add new sheets, or edit sheet names.

Click on the sheet name tab to select a sheet. You can click on the New tab to add a new sheet. You can also use the resize button to change the width of the tab strip bar.

You can double-click on the sheet name to edit it. You can stop editing by clicking out of the tab or by using the Esc or Enter key.

You can specify whether the user can edit names with the TabStripEditable property. The TabStripInsertTab property specifies whether the user is allowed to add new sheets with the New tab. The TabStripRatio property specifies the width of the tab strip as percentage. You can set the visibility with the TabStripVisibility property.

Using Code

This example sets tab properties.

CS
Copy Code
gcSpreadSheet1.TabStripEditable = true;
gcSpreadSheet1.TabStripInsertTab = true;
gcSpreadSheet1.TabStripVisibility = Windows.UI.Xaml.Visibility.Visible;
gcSpreadSheet1.TabStripRatio = 60;
VB
Copy Code
gcSpreadSheet1.TabStripEditable = True
gcSpreadSheet1.TabStripInsertTab = True
gcSpreadSheet1.TabStripVisibility = Windows.UI.Xaml.Visibility.Visible
gcSpreadSheet1.TabStripRatio = 60
See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.