Spread Windows Forms 11.0 Product Documentation
TabStripButtonUpperPressedColor Property (EnhancedInterfaceRenderer)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > EnhancedInterfaceRenderer Class : TabStripButtonUpperPressedColor Property
Gets or sets the color of the upper, pressed tab strip button.
Syntax
'Declaration
 
Public Property TabStripButtonUpperPressedColor As Color
'Usage
 
Dim instance As EnhancedInterfaceRenderer
Dim value As Color
 
instance.TabStripButtonUpperPressedColor = value
 
value = instance.TabStripButtonUpperPressedColor
public Color TabStripButtonUpperPressedColor {get; set;}

Property Value

The color of the tab strip button upper pressed.
Example
This example creates a new scheme for the interface renderer.
FarPoint.Win.Spread.EnhancedInterfaceRenderer eir = new FarPoint.Win.Spread.EnhancedInterfaceRenderer();
eir.ScrollBoxBackgroundColor = Color.Beige;
eir.SheetTabBorderColor = Color.BurlyWood;
eir.SheetTabLowerActiveColor = Color.BlanchedAlmond;
eir.SheetTabLowerNormalColor = Color.Brown;
eir.SheetTabUpperActiveColor = Color.Chocolate;
eir.SheetTabUpperNormalColor = Color.DarkGoldenrod;
eir.SplitBarBackgroundColor = Color.DarkKhaki;
eir.SplitBarDarkColor = Color.DarkOrchid;
eir.SplitBarLightColor = Color.DarkSalmon;
eir.SplitBoxBackgroundColor = Color.Bisque;
eir.SplitBoxBorderColor = Color.Cornsilk;
eir.TabStripBackgroundColor = Color.Beige;
eir.TabStripButtonLowerActiveColor = Color.BurlyWood;
eir.TabStripButtonLowerNormalColor = Color.BlanchedAlmond;
eir.TabStripButtonLowerPressedColor = Color.Brown;
eir.TabStripButtonUpperActiveColor = Color.DarkGoldenrod;
eir.TabStripButtonUpperNormalColor = Color.DarkKhaki;
eir.TabStripButtonUpperPressedColor = Color.SaddleBrown;
fpSpread1.InterfaceRenderer = eir;
fpSpread1.Sheets.Count = 3;
Dim eir As New FarPoint.Win.Spread.EnhancedInterfaceRenderer
eir.ScrollBoxBackgroundColor = Color.Beige
eir.SheetTabBorderColor = Color.BurlyWood
eir.SheetTabLowerActiveColor = Color.BlanchedAlmond
eir.SheetTabLowerNormalColor = Color.Brown
eir.SheetTabUpperActiveColor = Color.Chocolate
eir.SheetTabUpperNormalColor = Color.DarkGoldenrod
eir.SplitBarBackgroundColor = Color.DarkKhaki
eir.SplitBarDarkColor = Color.DarkOrchid
eir.SplitBarLightColor = Color.DarkSalmon
eir.SplitBoxBackgroundColor = Color.Bisque
eir.SplitBoxBorderColor = Color.Cornsilk
eir.TabStripBackgroundColor = Color.Beige
eir.TabStripButtonLowerActiveColor = Color.BurlyWood
eir.TabStripButtonLowerNormalColor = Color.BlanchedAlmond
eir.TabStripButtonLowerPressedColor = Color.Brown
eir.TabStripButtonUpperActiveColor = Color.DarkGoldenrod
eir.TabStripButtonUpperNormalColor = Color.DarkKhaki
eir.TabStripButtonUpperPressedColor = Color.SaddleBrown
FpSpread1.InterfaceRenderer = eir
FpSpread1.Sheets.Count = 3
See Also

Reference

EnhancedInterfaceRenderer Class
EnhancedInterfaceRenderer Members