Spread for ASP.NET 7.0 Product Documentation
BackColor Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : BackColor Property


Glossary Item Box

Gets the background color of the active sheet in the Spread component. To change the background color, please use the BackColor property of the SheetView class.

Syntax

Visual Basic (Declaration) 
Public Overrides Property BackColor As Color
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As Color
 
instance.BackColor = value
 
value = instance.BackColor
C# 
public override Color BackColor {get; set;}

Property Value

Color object containing the color of the background of the selected sheet of the component.

Remarks

To change the background color, please use the BackColor property of the SheetView class.

This property is available at run time only.

Example

This example gets the BackColor property.
C#Copy Code
ListBox1.Items.Add(FpSpread1.BackColor.ToString());
VB.NETCopy Code
ListBox1.Items.Add(FpSpread1.BackColor.ToString())

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.