Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / CommandBarInfo Class / ButtonTextColor Property

In This Topic
    ButtonTextColor Property
    In This Topic
    Gets or sets the text color of buttons on the command bar of the Spread component.
    Public Property ButtonTextColor As Color
    Dim instance As CommandBarInfo
    Dim value As Color
    instance.ButtonTextColor = value
    value = instance.ButtonTextColor
    public Color ButtonTextColor {get; set;}

    Property Value

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

    Use the ButtonFaceColor property to specify the button background color. Use the ButtonHighlightColor and ButtonShadowColor properties to specify the button highlight and shadow color, respectively.

    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