FMX.Pickers.TCustomDateTimePicker.FirstDayOfWeek

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FirstDayOfWeek: TCalDayOfWeek read FFirstDayOfWeek write FFirstDayOfWeek;

C++

__property System::Uitypes::TCalDayOfWeek FirstDayOfWeek = {read=FFirstDayOfWeek, write=FFirstDayOfWeek, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.Pickers.pas
FMX.Pickers.hpp
FMX.Pickers TCustomDateTimePicker

Description

Keeps the first day of a week.

FirstDayOfWeek specifies the left-most day in the calendar.

A picker object obtains the FirstDayOfWeek from the Calendar control containing the current picker object.

FirstDayOfWeek can be one of the constants defined in the TCalDayOfWeek type - dowLocaleDefault, dowMonday, dowSunday or others. To make the left-most day adjust for the locale, set FirstDayOfWeek to dowLocaleDefault.

Note: The left-most column of a picker can be chosen, but the order of the columns cannot be modified.

See Also