Spread ASP.NET 6.0 Product Documentation
Tab Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : Tab Property


Glossary Item Box

Gets the sheet name tab 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.