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


ValueSign Property (GcTimeSpan)
Gets or sets the value sign of the control.
Syntax
'Declaration
 
Public Property ValueSign As ValueSignControl
 
'Usage
 
Dim instance As GcTimeSpan
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 value which not smaller than System.TimeSpan.Zero is allowed. If the value is ValueSignControl.Negative, only value which not bigger than System.TimeSpan.Zero is allowed. And ValueSignControl.NoControl means all value is allowed.
See Also