Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcNumber Class / ValueSign Property


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

    Property Value

    A ValueSignControl value indicates the value sign.
    The defalut is ValueSignControl.NoControl.
    Exceptions
    ExceptionDescription
    value is not defined in the ValueSignControl.
    Remarks
    The ValueSign property determines what value can be accepted. If the value is ValueSignControl.Positive, only number which not smaller than zero is allowed. If the value is ValueSignControl.Negative, only number which not bigger than zero is allowed. And ValueSignControl.NoControl means all number is allowed.
    See Also