ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / Calendar Class / FirstDayOfWeek Property






In This Topic
    FirstDayOfWeek Property (Calendar)
    In This Topic
    Gets or sets a value that represents the first day of the week, the one displayed in the first column of the calendar.
    Syntax
    'Declaration
     
    
    Public Property FirstDayOfWeek As System.DayOfWeek
    'Usage
     
    
    Dim instance As Calendar
    Dim value As System.DayOfWeek
     
    instance.FirstDayOfWeek = value
     
    value = instance.FirstDayOfWeek
    public System.DayOfWeek FirstDayOfWeek {get; set;}
    public read-write property FirstDayOfWeek: System.DayOfWeek; 
    public function get,set FirstDayOfWeek : System.DayOfWeek
    public: __property System.DayOfWeek get_FirstDayOfWeek();
    public: __property void set_FirstDayOfWeek( 
       System.DayOfWeek value
    );
    public:
    property System.DayOfWeek FirstDayOfWeek {
       System.DayOfWeek get();
       void set (    System.DayOfWeek value);
    }
    Remarks
    Setting this property to null causes the calendar to use the default for the current culture. In the English culture, the first day of the week is Sunday; in most European cultures, the first day of the week is Monday.
    See Also