Spread for ASP.NET 11 Product Documentation
NegativeRed Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > GeneralCellType Class : NegativeRed Property
Gets or sets if the red text color is used for negative values.
Syntax
'Declaration
 
Public Overridable Property NegativeRed As Boolean
'Usage
 
Dim instance As GeneralCellType
Dim value As Boolean
 
instance.NegativeRed = value
 
value = instance.NegativeRed
public virtual bool NegativeRed {get; set;}
Example
This example sets the NegativeRed property.
FarPoint.Web.Spread.GeneralCellType test = new FarPoint.Web.Spread.GeneralCellType();
test.NegativeRed = true;
FpSpread1.Sheets[0].Cells[0, 0].CellType = test;
Dim test As New FarPoint.Web.Spread.GeneralCellType
test.NegativeRed = True
FpSpread1.Sheets(0).Cells(0, 0).CellType = test
See Also

Reference

GeneralCellType Class
GeneralCellType Members