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;} |
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 Basic | Copy Code |
---|---|
FpSpread1.CommandBar.Background.GradientStartColor = Drawing.Color.DarkGray FpSpread1.CommandBar.Background.GradientEndColor = Drawing.Color.LightGray |
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6