Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxFormatController.FirstWeekOfYear Property

Specifies the first week of the year for date editors.

#Declaration

Delphi
property FirstWeekOfYear: TcxFirstWeekOfYear read; write;

#Property Value

Type
TcxFirstWeekOfYear

#Remarks

Use this property to specify which week should be considered the first week of the year for date editors (for instance, TcxCustomDateEdit descendants). The FirstWeekOfYear property value affects how weeks are enumerated within the year and are painted within the date editor’s dropdown calendar provided that the editor’s Properties.WeekNumbers property is set to True. When the FirstWeekOfYear 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.

See Also