Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / DateYearDisplayField Class / ShowLeadingZero Property


In This Topic
    ShowLeadingZero Property (DateYearDisplayField)
    In This Topic
    Gets or sets a value indicating whether GrapeCity.Windows.InputMan.Fields.DateYearDisplayField displays leading zero. This is a dependency property.
    Syntax
    'Declaration
     
    Public Property ShowLeadingZero As Boolean
    'Usage
     
    Dim instance As DateYearDisplayField
    Dim value As Boolean
     
    instance.ShowLeadingZero = value
     
    value = instance.ShowLeadingZero
    public bool ShowLeadingZero {get; set;}

    Property Value

    true if show leading zero; otherwise, false. Default value is false.
    Remarks
    This property will add some "0" as place holder on left padding. When current value is "1", if this property is true, it will show "0001" as display text.
    See Also