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


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

    Property Value

    true if show leading zero; otherwise, false. The default value is true.
    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