Spread for ASP.NET 9.0 Product Documentation
Background Property (CommandBarInfo)
Example 


Gets or sets gradient style information for the command bar of a Spread component.
Syntax
'Declaration
 
Public Property Background As Background
'Usage
 
Dim instance As CommandBarInfo
Dim value As Background
 
instance.Background = value
 
value = instance.Background
public Background Background {get; set;}
Example
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
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

CommandBarInfo Class
CommandBarInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.