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


Glossary Item Box

Gets/sets if red text color is used for negative value.

Syntax

Visual Basic (Declaration) 
Public Overridable Property NegativeRed As Boolean
Visual Basic (Usage)Copy Code
Dim instance As GeneralCellType
Dim value As Boolean
 
instance.NegativeRed = value
 
value = instance.NegativeRed
C# 
public virtual bool NegativeRed {get; set;}

Example

This example sets the NegativeRed property.
C#Copy Code
FarPoint.Web.Spread.GeneralCellType test = new FarPoint.Web.Spread.GeneralCellType();
test.NegativeRed = true;
FpSpread1.Sheets[0].Cells[0, 0].CellType = test;
Visual BasicCopy Code
Dim test As New FarPoint.Web.Spread.GeneralCellType
test.NegativeRed = True
FpSpread1.Sheets(0).Cells(0, 0).CellType = test

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.