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

In This Topic
    Background Property (CommandBarInfo)
    In This Topic
    Gets or sets gradient style information for the command bar of a Spread component.
    Public Property Background As Background
    Dim instance As CommandBarInfo
    Dim value As Background
    instance.Background = value
    value = instance.Background
    public Background Background {get; set;}
    This examples sets a gradient color for the command bar.
    FpSpread1.CommandBar.Background.GradientStartColor = Drawing.Color.DarkGray;
    FpSpread1.CommandBar.Background.GradientEndColor = Drawing.Color.LightGray;
    FpSpread1.CommandBar.Background.GradientStartColor = Drawing.Color.DarkGray
    FpSpread1.CommandBar.Background.GradientEndColor = Drawing.Color.LightGray
    See Also