Gets or sets the background color of the active sheet name tab.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ActiveTabBackColor As Color |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As TabInfo
Dim value As Color
instance.ActiveTabBackColor = value
value = instance.ActiveTabBackColor |
C# | |
---|
public Color ActiveTabBackColor {get; set;} |
Property Value
Color object that contains the background color for the active tab
Example
This example shows how to set the display of the sheet name tabs.
C# | Copy Code |
---|
FpSpread1.Sheets.Count = 3;
FpSpread1.Tab.ActiveTabBackColor = Color.Yellow;
FpSpread1.Tab.ActiveTabBorderColor = Color.Red;
FpSpread1.Tab.FirstVisibleTab = 1;
FpSpread1.Tab[0] = "First";
FpSpread1.Tab[1] = "Second";
FpSpread1.Tab[2] = "Third";
FpSpread1.Tab.TextColor = Color.Red;
FpSpread1.Tab.TabControlPolicy = FarPoint.Web.Spread.TabControlPolicy.Always;
FpSpread1.Tab.VisibleCount = 2;
FpSpread1.Tab.ScrollIncrement = 2;
ListBox1.Items.Add(FpSpread1.Tab.Count.ToString());
|
Visual Basic | Copy Code |
---|
FpSpread1.Sheets.Count = 3
FpSpread1.Tab.ActiveTabBackColor = Color.Yellow
FpSpread1.Tab.ActiveTabBorderColor = Color.Red
FpSpread1.Tab.FirstVisibleTab = 1
FpSpread1.Tab.Item(0) = "First"
FpSpread1.Tab.Item(1) = "Second"
FpSpread1.Tab.Item(2) = "Third"
FpSpread1.Tab.TextColor = Color.Red
FpSpread1.Tab.TabControlPolicy = FarPoint.Web.Spread.TabControlPolicy.Always
FpSpread1.Tab.VisibleCount = 2
FpSpread1.Tab.ScrollIncrement = 2
ListBox1.Items.Add(FpSpread1.Tab.Count) |
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