Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcDropDownCalendar Class / YearFormat Property


In This Topic
    YearFormat Property
    In This Topic
    Gets or sets the format of year. This is a dependency property.
    Syntax
    'Declaration
     
    Public Property YearFormat As String
    'Usage
     
    Dim instance As GcDropDownCalendar
    Dim value As String
     
    instance.YearFormat = value
     
    value = instance.YearFormat
    public string YearFormat {get; set;}

    Property Value

    A System.String value indicates the format of year.
    Remarks
    The YearFormat is the format pattern for the GrapeCity.Windows.InputMan.Primitives.CalendarButton content presentation when the GcDropDownCalendar control is in GrapeCity.Windows.InputMan.CalendarMode.Decade mode. And it also is the format pattern for the header presentation when the GcDropDownCalendar control is in GrapeCity.Windows.InputMan.CalendarMode.Year or GrapeCity.Windows.InputMan.CalendarMode.Decade mode.
    See Also