Spread ASP.NET 6.0 Product Documentation
ForeColor Property
See Also  Send Feedback
FarPoint.Mvc.Spread Assembly > FarPoint.Mvc.Spread Namespace > FpSpread Class : ForeColor Property


Glossary Item Box

This property is not used. To change the text color for all the cells, please use the DefaultStyle property of the SheetView class.

Syntax

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

Property Value

Color of the text in the component

Remarks

This property is available at run time only.

Example

This example shows how to set the font for the default style.

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.