Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcNumberCellType Class / ValueSign Property


In This Topic
    ValueSign Property (GcNumberCellType)
    In This Topic
    Gets or sets the value sign of the control.
    Syntax
    'Declaration
     
    
    Public Property ValueSign As ValueSignControl
    'Usage
     
    
    Dim instance As GcNumberCellType
    Dim value As ValueSignControl
     
    instance.ValueSign = value
     
    value = instance.ValueSign
    public ValueSignControl ValueSign {get; set;}

    Property Value

    A ValueSignControl value that indicates the value sign.
    The default is ValueSignControl.NoControl.
    Remarks
    The ValueSign property determines what value can be accepted. If the value is ValueSignControl.Positive, only numbers that are not smaller than zero are allowed. If the value is ValueSignControl.Negative, only numbers that are not bigger than zero are allowed. ValueSignControl.NoControl means all numbers are allowed.
    See Also