Spread for ASP.NET 11 Product Documentation
ButtonShadowColor Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > CommandBarInfo Class : ButtonShadowColor Property
Gets or sets the color of the bottom and right borders of buttons on the command bar of the Spread component.
Syntax
'Declaration
 
Public Property ButtonShadowColor As Color
'Usage
 
Dim instance As CommandBarInfo
Dim value As Color
 
instance.ButtonShadowColor = value
 
value = instance.ButtonShadowColor
public Color ButtonShadowColor {get; set;}

Property Value

Color object that contains the color for shadow of the button on the command bar
Remarks

Use the ButtonFaceColor and ButtonHighlightColor properties to specify the button face and highlight color, respectively.

Example
This example shows the setting of several command bar properties.
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; 
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 
See Also

Reference

CommandBarInfo Class
CommandBarInfo Members
ButtonFaceColor Property
ButtonHighlightColor Property