Spread for ASP.NET 7.0 Product Documentation
ButtonHighlightColor Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > CommandBarInfo Class : ButtonHighlightColor Property


Glossary Item Box

Gets or sets the color of the top and left borders of buttons on the command bar of the Spread component.

Syntax

Visual Basic (Declaration) 
Public Property ButtonHighlightColor As Color
Visual Basic (Usage)Copy Code
Dim instance As CommandBarInfo
Dim value As Color
 
instance.ButtonHighlightColor = value
 
value = instance.ButtonHighlightColor
C# 
public Color ButtonHighlightColor {get; set;}

Property Value

Color object that contains the color for a highlighted button on the command bar

Remarks

Use the ButtonFaceColor and ButtonShadowColor properties to specify the button face and shadow color, respectively.

Example

This example shows the setting of several command bar properties.
C#Copy Code
FpSpread1.CommandBar.Background = null;
FpSpread1.CommandBar.BackColor = Color.Yellow; 
FpSpread1.CommandBar.ButtonFaceColor = Color.YellowGreen; 
FpSpread1.CommandBar.ButtonHighlightColor = Color.Coral; 
FpSpread1.CommandBar.ButtonShadowColor = Color.Bisque; 
FpSpread1.CommandBar.ButtonTextColor = Color.RoyalBlue; 
FpSpread1.CommandBar.ButtonType = FarPoint.Web.Spread.ButtonType.PushButton; 
FpSpread1.CommandBar.Font.Bold = true; 
FpSpread1.CommandBar.Font.Name = "Comic Sans MS"; 
FpSpread1.CommandBar.Visible = true; 
Visual BasicCopy Code
FpSpread1.CommandBar.Background = Nothing
FpSpread1.CommandBar.BackColor = Color.Yellow
FpSpread1.CommandBar.ButtonFaceColor = Color.YellowGreen
FpSpread1.CommandBar.ButtonHighlightColor = Color.Coral
FpSpread1.CommandBar.ButtonShadowColor = Color.Bisque
FpSpread1.CommandBar.ButtonTextColor = Color.RoyalBlue
FpSpread1.CommandBar.ButtonType = FarPoint.Web.Spread.ButtonType.PushButton
FpSpread1.CommandBar.Font.Bold = True
FpSpread1.CommandBar.Font.Name = "Comic Sans MS"
FpSpread1.CommandBar.Visible = True 

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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