Spread Windows Forms 9.0 Product Documentation
SplitBarBackgroundColor Property (EnhancedInterfaceRenderer)
Example 


Gets or sets the color of the split bar background.
Syntax
'Declaration
 
Public Property SplitBarBackgroundColor As Color
'Usage
 
Dim instance As EnhancedInterfaceRenderer
Dim value As Color
 
instance.SplitBarBackgroundColor = value
 
value = instance.SplitBarBackgroundColor
public Color SplitBarBackgroundColor {get; set;}

Property Value

The color of the split bar 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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

EnhancedInterfaceRenderer Class
EnhancedInterfaceRenderer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.