Spread Windows Forms 12.0 Product Documentation
ScrollBoxBackgroundColor Property (EnhancedInterfaceRenderer)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > EnhancedInterfaceRenderer Class : ScrollBoxBackgroundColor Property
Gets or sets the color of the scroll box background.
Syntax
'Declaration
 
Public Property ScrollBoxBackgroundColor As Color
'Usage
 
Dim instance As EnhancedInterfaceRenderer
Dim value As Color
 
instance.ScrollBoxBackgroundColor = value
 
value = instance.ScrollBoxBackgroundColor
public Color ScrollBoxBackgroundColor {get; set;}

Property Value

The color of the scroll box background.
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