Spread Windows Forms 14.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTimeSpanCellType Class / UseNegativeColor Property


In This Topic
    UseNegativeColor Property (GcTimeSpanCellType)
    In This Topic
    Gets or sets whether to use GcTimeSpan.NegativeColor to render negative values.
    Syntax
    'Declaration
     
    
    Public Property UseNegativeColor As Boolean
    'Usage
     
    
    Dim instance As GcTimeSpanCellType
    Dim value As Boolean
     
    instance.UseNegativeColor = value
     
    value = instance.UseNegativeColor
    public bool UseNegativeColor {get; set;}

    Property Value

    true specifies to use GcTimeSpan.NegativeColor to render negative values; false specifies to use GcTimeSpan.ForeColor to render negative values.
    The default is true.
    Remarks
    If the GrapeCity.Win.Value property is smaller than System.TimeSpan.Zero and the UseNegativeColor property is true, the text color uses this property.
    See Also