Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcNumber Class / ValueSign Property


In This Topic
    ValueSign Property
    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.
    Exceptions
    ExceptionDescription
    The assigned value is not type of GrapeCity.Windows.InputMan.ValueSignControl.
    Remarks
    This property determines the value range of GcNumber. When it's ValueSignControl.Positive, it only allow positive value in GcNumber; When it's ValueSignControl.Negative, it only allow negative value in GcNumber; When it's ValueSignControl.NoControl, it doesn't control the value.
    See Also