Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcDateTime Class / Value Property


In This Topic
    Value Property (GcDateTime)
    In This Topic
    Gets or sets the Nullable value assigned to the control.
    Syntax
    'Declaration
     
    
    Public Property Value As Nullable(Of Date)
    'Usage
     
    
    Dim instance As GcDateTime
    Dim value As Nullable(Of Date)
     
    instance.Value = value
     
    value = instance.Value
    public Nullable<DateTime> Value {get; set;}

    Property Value

    The Nullable value assign to the control. The default is the current date-time (System.DateTime.Now).
    Exceptions
    ExceptionDescription
    The value is not a valid format string.
    The value is less than MinDate or greater than MaxDate.
    See Also