Spread Windows Forms 10.0 Product Documentation
EnhancedInterfaceRenderer Constructor(Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,SheetTabShape,Color,FlatStyle,Color,Color,Color,ButtonStyles,Color,Color,Color,Color)


Color of the arrow when enabled
Color of the arrow when disabled
Color of the text
Color of the gray area
Color of the background of the outline (range group)
Color of the button and border of the outline (range group)
Color of the line of the outline (range group)
Color of the background of the scroll box
Color of the border of the sheet tab
Color of the lower part of the sheet tab when selected
Color of the lower part of the sheet tab when not selected
Color of the upper part of the sheet tab when selected
Color of the upper part of the sheet tab when not selected
Color of the background of the splitter bar
Color of the dark part of the splitter bar
Color of the light part of the splitter bar
Color of the background of the splitter box
Color of the border of the splitter box
Sheet tab shape
Color of the background of the tab strip
Style of the tab strip button when flat
Color of the lower part of the tab strip button when selected
Color of the lower part of the tab strip button when not selected
Color of the lower part of the tab strip button when pressed
Style of the tab strip button
Color of the upper part of the tab strip button when selected
Color of the upper part of the tab strip button when not selected
Color of the upper part of the tab strip button when pressed
Color of the border of the tab strip button
Creates a new enhanced interface rendered with the specified parameters.
Syntax
'Declaration
 
Public Function New( _
   ByVal arrowColorEnabled As Color, _
   ByVal arrowColorDisabled As Color, _
   ByVal foreColor As Color, _
   ByVal grayAreaColor As Color, _
   ByVal rangeGroupBackgroundColor As Color, _
   ByVal rangeGroupButtonBorderColor As Color, _
   ByVal rangeGroupLineColor As Color, _
   ByVal scrollBoxBackgroundColor As Color, _
   ByVal sheetTabBorderColor As Color, _
   ByVal sheetTabLowerActiveColor As Color, _
   ByVal sheetTabLowerNormalColor As Color, _
   ByVal sheetTabUpperActiveColor As Color, _
   ByVal sheetTabUpperNormalColor As Color, _
   ByVal splitBarBackgroundColor As Color, _
   ByVal splitBarDarkColor As Color, _
   ByVal splitBarLightColor As Color, _
   ByVal splitBoxBackgroundColor As Color, _
   ByVal splitBoxBorderColor As Color, _
   ByVal tabShape As EnhancedInterfaceRenderer.SheetTabShape, _
   ByVal tabStripBackgroundColor As Color, _
   ByVal tabStripButtonFlatStyle As FlatStyle, _
   ByVal tabStripButtonLowerActiveColor As Color, _
   ByVal tabStripButtonLowerNormalColor As Color, _
   ByVal tabStripButtonLowerPressedColor As Color, _
   ByVal tabStripButtonStyle As EnhancedInterfaceRenderer.ButtonStyles, _
   ByVal tabStripButtonUpperActiveColor As Color, _
   ByVal tabStripButtonUpperNormalColor As Color, _
   ByVal tabStripButtonUpperPressedColor As Color, _
   ByVal tabStripButtonBorderColor As Color _
)
'Usage
 
Dim arrowColorEnabled As Color
Dim arrowColorDisabled As Color
Dim foreColor As Color
Dim grayAreaColor As Color
Dim rangeGroupBackgroundColor As Color
Dim rangeGroupButtonBorderColor As Color
Dim rangeGroupLineColor As Color
Dim scrollBoxBackgroundColor As Color
Dim sheetTabBorderColor As Color
Dim sheetTabLowerActiveColor As Color
Dim sheetTabLowerNormalColor As Color
Dim sheetTabUpperActiveColor As Color
Dim sheetTabUpperNormalColor As Color
Dim splitBarBackgroundColor As Color
Dim splitBarDarkColor As Color
Dim splitBarLightColor As Color
Dim splitBoxBackgroundColor As Color
Dim splitBoxBorderColor As Color
Dim tabShape As EnhancedInterfaceRenderer.SheetTabShape
Dim tabStripBackgroundColor As Color
Dim tabStripButtonFlatStyle As FlatStyle
Dim tabStripButtonLowerActiveColor As Color
Dim tabStripButtonLowerNormalColor As Color
Dim tabStripButtonLowerPressedColor As Color
Dim tabStripButtonStyle As EnhancedInterfaceRenderer.ButtonStyles
Dim tabStripButtonUpperActiveColor As Color
Dim tabStripButtonUpperNormalColor As Color
Dim tabStripButtonUpperPressedColor As Color
Dim tabStripButtonBorderColor As Color
 
Dim instance As New EnhancedInterfaceRenderer(arrowColorEnabled, arrowColorDisabled, foreColor, grayAreaColor, rangeGroupBackgroundColor, rangeGroupButtonBorderColor, rangeGroupLineColor, scrollBoxBackgroundColor, sheetTabBorderColor, sheetTabLowerActiveColor, sheetTabLowerNormalColor, sheetTabUpperActiveColor, sheetTabUpperNormalColor, splitBarBackgroundColor, splitBarDarkColor, splitBarLightColor, splitBoxBackgroundColor, splitBoxBorderColor, tabShape, tabStripBackgroundColor, tabStripButtonFlatStyle, tabStripButtonLowerActiveColor, tabStripButtonLowerNormalColor, tabStripButtonLowerPressedColor, tabStripButtonStyle, tabStripButtonUpperActiveColor, tabStripButtonUpperNormalColor, tabStripButtonUpperPressedColor, tabStripButtonBorderColor)

Parameters

arrowColorEnabled
Color of the arrow when enabled
arrowColorDisabled
Color of the arrow when disabled
foreColor
Color of the text
grayAreaColor
Color of the gray area
rangeGroupBackgroundColor
Color of the background of the outline (range group)
rangeGroupButtonBorderColor
Color of the button and border of the outline (range group)
rangeGroupLineColor
Color of the line of the outline (range group)
scrollBoxBackgroundColor
Color of the background of the scroll box
sheetTabBorderColor
Color of the border of the sheet tab
sheetTabLowerActiveColor
Color of the lower part of the sheet tab when selected
sheetTabLowerNormalColor
Color of the lower part of the sheet tab when not selected
sheetTabUpperActiveColor
Color of the upper part of the sheet tab when selected
sheetTabUpperNormalColor
Color of the upper part of the sheet tab when not selected
splitBarBackgroundColor
Color of the background of the splitter bar
splitBarDarkColor
Color of the dark part of the splitter bar
splitBarLightColor
Color of the light part of the splitter bar
splitBoxBackgroundColor
Color of the background of the splitter box
splitBoxBorderColor
Color of the border of the splitter box
tabShape
Sheet tab shape
tabStripBackgroundColor
Color of the background of the tab strip
tabStripButtonFlatStyle
Style of the tab strip button when flat
tabStripButtonLowerActiveColor
Color of the lower part of the tab strip button when selected
tabStripButtonLowerNormalColor
Color of the lower part of the tab strip button when not selected
tabStripButtonLowerPressedColor
Color of the lower part of the tab strip button when pressed
tabStripButtonStyle
Style of the tab strip button
tabStripButtonUpperActiveColor
Color of the upper part of the tab strip button when selected
tabStripButtonUpperNormalColor
Color of the upper part of the tab strip button when not selected
tabStripButtonUpperPressedColor
Color of the upper part of the tab strip button when pressed
tabStripButtonBorderColor
Color of the border of the tab strip button
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
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.