Spread Windows Forms 6.0 Product Documentation
ScrollBoxBackgroundColor Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > EnhancedInterfaceRenderer Class : ScrollBoxBackgroundColor Property


Glossary Item Box

Gets or sets the color of the scroll box background.

Syntax

Visual Basic (Declaration) 
Public Property ScrollBoxBackgroundColor As Color
Visual Basic (Usage)Copy Code
Dim instance As EnhancedInterfaceRenderer
Dim value As Color
 
instance.ScrollBoxBackgroundColor = value
 
value = instance.ScrollBoxBackgroundColor
C# 
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.
C#Copy Code
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;
Visual BasicCopy Code
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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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