Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcDateTime Class / Number Property


In This Topic
    Number Property (GcDateTime)
    In This Topic
    Gets or sets the underlying value in long integer format.
    Syntax
    'Declaration
     
    <BindableAttribute(True)>
    <RefreshPropertiesAttribute(RefreshProperties.All)>
    Public Property Number As Long
    'Usage
     
    Dim instance As GcDateTime
    Dim value As Long
     
    instance.Number = value
     
    value = instance.Number
    [Bindable(true)]
    [RefreshProperties(RefreshProperties.All)]
    public long Number {get; set;}

    Property Value

    A date-time value in long integer format (yyyyMMddHHmmss).
    Exceptions
    ExceptionDescription
    When user set the value is not convertible to a System.DateTime value.
    Remarks

    This property can be set to 0 to clear the underlying value to a null reference (Nothing in Visual Basic). Changing this property will affect the GrapeCity.Windows.InputMan.Primitives.EditBase.Text and the GrapeCity.Windows.InputMan.GcDateTime.Value properties.

    See Also