Spread for ASP.NET 10 Product Documentation
NegativeRed Property
Example 


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
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

GeneralCellType Class
GeneralCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.