Spread ASP.NET 6.0 Product Documentation
Background Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > CommandBarInfo Class : Background Property


Glossary Item Box

Gets or sets Gradient style info of the command bar of a Spread component.

Syntax

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

Example

This examples sets a gradient color for the command bar.
C#Copy Code
FpSpread1.CommandBar.Background.GradientStartColor = Drawing.Color.DarkGray;
FpSpread1.CommandBar.Background.GradientEndColor = Drawing.Color.LightGray;
Visual BasicCopy Code
FpSpread1.CommandBar.Background.GradientStartColor = Drawing.Color.DarkGray
FpSpread1.CommandBar.Background.GradientEndColor = Drawing.Color.LightGray

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.