TcxFormatController.StartOfWeek Property
Specifies the first day of the week.
Declaration
property StartOfWeek: TDay read; write;
Property Value
Type |
---|
TDay |
Remarks
This property determines the appearance of the TcxDateEdit and TcxDBDateEdit controls (TcxCustomDateEdit descendants), which allow displaying a calendar for a month. TDay values correspond to the days of the week starting from Sunday. The default value of the StartOfWeek property is retrieved from the system locale settings. When the StartOfWeek property is changed (either by the TcxFormatController class to reflect system locale changes or by changing the property directly), all subscribed controls receive a “format changed” notification.
Note
To improve performance when modifying several TcxFormatController properties simultaneously, enclose the code that performs these modifications within the BeginUpdate/EndUpdate method blocks. In addition, you can set an application’s UpdateFormatSettings property to False to prevent the TcxFormatController class from updating its properties in response to changes made to the system locale settings.