Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcNumber Class / ValueSign Property


ValueSign Property (GcNumber)
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

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