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


In This Topic
    FirstDayOfWeek Property (GcDateTime)
    In This Topic
    Gets or sets the day that is considered the beginning of the week in the drop down calendar. This is a dependency property.
    Syntax
    'Declaration
     
    Public Property FirstDayOfWeek As DayOfWeek
    'Usage
     
    Dim instance As GcDateTime
    Dim value As DayOfWeek
     
    instance.FirstDayOfWeek = value
     
    value = instance.FirstDayOfWeek
    public DayOfWeek FirstDayOfWeek {get; set;}

    Property Value

    A GrapeCity.Windows.InputMan.DayOfWeek value that represents the beginning of the week. The default value is GrapeCity.Windows.InputMan.DayOfWeek.NotSet
    Exceptions
    ExceptionDescription
    The assigned value is undefined in the GrapeCity.Windows.InputMan.DayOfWeek enumeration.
    Remarks
    If FirstDayOfWeek is GrapeCity.Windows.InputMan.DayOfWeek.NotSet, the drop down calendar shows the dates according to the System.Globalization.DateTimeFormatInfo.FirstDayOfWeek of current culture.
    See Also