Spread for ASP.NET 7.0 Product Documentation
Tab Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : Tab Property


Glossary Item Box

Gets the sheet tab name information for the component.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Tab As TabInfo
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As TabInfo
 
value = instance.Tab
C# 
public TabInfo Tab {get;}

Property Value

TabInfo object that contains the sheet name tab information

Example

This example creates a spreadsheet with three tabs, and sets the color of the background and the border for the active sheet name tab and the color for the text for all the sheet name tabs.
C#Copy Code
FpSpread1.Sheets.Count = 3;
FpSpread1.Tab.ActiveTabBackColor = Color.Red;
FpSpread1.Tab.ActiveTabBorderColor = Color.Blue;
FpSpread1.Tab.TextColor = Color.White;
Visual BasicCopy Code
FpSpread1.Sheets.Count = 3
FpSpread1.Tab.ActiveTabBackColor = Color.Red
FpSpread1.Tab.ActiveTabBorderColor = Color.Blue
FpSpread1.Tab.TextColor = Color.White

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.