Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcNumberCellType Class / UseNegativeColor Property


In This Topic
    UseNegativeColor Property (GcNumberCellType)
    In This Topic
    Gets or sets a value that indicates whether to use the NegativeColor property to display the negative value.
    Syntax
    'Declaration
     
    
    Public Property UseNegativeColor As Boolean
    'Usage
     
    
    Dim instance As GcNumberCellType
    Dim value As Boolean
     
    instance.UseNegativeColor = value
     
    value = instance.UseNegativeColor
    public bool UseNegativeColor {get; set;}

    Property Value

    true means use NegativeColor to render the negative value; false means use ForeColor to render the negative value.
    The default is true.
    Remarks
    If the GrapeCity.Win.Value property is smaller than zero and the UseNegativeColor property is true, the text color uses this property.
    See Also