Spread Windows Forms 9.0 Product Documentation
EnhancedInterfaceRenderer.ButtonStyles Enumeration
Example Example 


Specifies the button style.
Syntax
'Declaration
 
Public Enum EnhancedInterfaceRenderer.ButtonStyles 
   Inherits System.Enum
'Usage
 
Dim instance As EnhancedInterfaceRenderer.ButtonStyles
public enum EnhancedInterfaceRenderer.ButtonStyles : System.Enum 
Members
MemberDescription
EnhancedDisplays the button as enhanced.
FlatDisplays the button as flat.
Example
This example uses the EnhancedInterfaceRenderer.ButtonStyles enumeration.
FarPoint.Win.Spread.EnhancedInterfaceRenderer ei = new FarPoint.Win.Spread.EnhancedInterfaceRenderer();
ei.ArrowColorDisabled = Color.Beige;
ei.ArrowColorEnabled = Color.DarkGoldenrod;
ei.ForeColor = Color.Tan;
ei.RangeGroupBackgroundColor = Color.Gold;
ei.RangeGroupButtonBorderColor = Color.Firebrick;
ei.RangeGroupLineColor = Color.BlanchedAlmond;
ei.ScrollBoxBackgroundColor = Color.Gold;
ei.SheetTabBorderColor = Color.Gold;
ei.SheetTabLowerActiveColor = Color.Gold;
ei.SheetTabLowerNormalColor = Color.Firebrick;
ei.SheetTabUpperActiveColor = Color.BurlyWood;
ei.SheetTabUpperNormalColor = Color.BlanchedAlmond;
ei.SplitBarBackgroundColor = Color.Bisque;
ei.SplitBarDarkColor = Color.Brown;
ei.SplitBarLightColor = Color.LightGoldenrodYellow;
ei.SplitBoxBackgroundColor = Color.Brown;
ei.SplitBoxBorderColor = Color.Red;
ei.SheetTabBorderColor = Color.Gold;
ei.SheetTabLowerActiveColor = Color.White;
ei.SheetTabLowerNormalColor = Color.Wheat;
ei.TabStripBackgroundColor = Color.Beige;
ei.TabStripButtonFlatStyle = FlatStyle.Popup;
ei.TabStripButtonLowerActiveColor = Color.Gold;
ei.TabStripButtonLowerNormalColor = Color.White;
ei.TabStripButtonLowerPressedColor = Color.AntiqueWhite;
ei.TabStripButtonStyle = FarPoint.Win.Spread.EnhancedInterfaceRenderer.ButtonStyles.Enhanced;
ei.TabStripButtonUpperActiveColor = Color.Gold;
ei.TabStripButtonUpperNormalColor = Color.Cyan;
ei.TabStripButtonUpperPressedColor = Color.Wheat;
ei.TabShape = FarPoint.Win.Spread.EnhancedInterfaceRenderer.SheetTabShape.RoundedRectangle;
fpSpread1.InterfaceRenderer = ei;
Dim ei As New FarPoint.Win.Spread.EnhancedInterfaceRenderer
ei.ArrowColorDisabled = Color.Beige
ei.ArrowColorEnabled = Color.DarkGoldenrod
ei.ForeColor = Color.Tan
ei.RangeGroupBackgroundColor = Color.Gold
ei.RangeGroupButtonBorderColor = Color.Firebrick
ei.ScrollBoxBackgroundColor = Color.Gold
ei.SheetTabBorderColor = Color.Gold
ei.SheetTabLowerActiveColor = Color.Gold
ei.SheetTabLowerNormalColor = Color.Firebrick
ei.SheetTabUpperActiveColor = Color.BurlyWood
ei.SheetTabUpperNormalColor = Color.BlanchedAlmond
ei.SplitBarBackgroundColor = Color.Bisque
ei.SplitBarDarkColor = Color.Brown
ei.SplitBarLightColor = Color.LightGoldenrodYellow
ei.SplitBoxBackgroundColor = Color.Brown
ei.SplitBoxBorderColor = Color.Red
ei.SheetTabBorderColor = Color.Gold
ei.SheetTabLowerActiveColor = Color.White
ei.SheetTabLowerNormalColor = Color.Wheat
ei.TabStripBackgroundColor = Color.Beige
ei.TabStripButtonFlatStyle = FlatStyle.Popup
ei.TabStripButtonLowerActiveColor = Color.Gold
ei.TabStripButtonLowerNormalColor = Color.White
ei.TabStripButtonLowerPressedColor = Color.AntiqueWhite
ei.TabStripButtonStyle = FarPoint.Win.Spread.EnhancedInterfaceRenderer.ButtonStyles.Enhanced
ei.TabStripButtonUpperActiveColor = Color.Gold
ei.TabStripButtonUpperNormalColor = Color.Cyan
ei.TabStripButtonUpperPressedColor = Color.Wheat
ei.TabShape = FarPoint.Win.Spread.EnhancedInterfaceRenderer.SheetTabShape.RoundedRectangle
FpSpread1.InterfaceRenderer = ei
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.EnhancedInterfaceRenderer.ButtonStyles

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

FarPoint.Win.Spread Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.