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


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

    Property Value

    true means use NegativeColor to render negative; false means use ForeColor to render negative.
    The default is true.
    Remarks
    If the Value property is smaller than System.TimeSpan.Zero and the UseNegativeColor property is true, the color of text follows this property.
    See Also