Vcl.WinXCalendars.TCalendarViewYearlyViewInfo.CorrectStartDate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CorrectStartDate(const Value: TDate): TDate;

C++

System::TDate __fastcall CorrectStartDate(const System::TDate Value);

Properties

Type Visibility Source Unit Parent
function public
Vcl.WinXCalendars.pas
Vcl.WinXCalendars.hpp
Vcl.WinXCalendars TCalendarViewYearlyViewInfo

Description

CorrectStartDate returns the first date to be displayed in TCalendarView.

Depending on the FirstDateOfWeek parameter, CorrectStartDate returns the first date to be displayed in TCalendarView.

  • In the month view, it specifies what days from the previous month are displayed, depending on what day of the week is the first of the current month.
  • In the year view, it specifies what month to show first.
  • In the decade view—the year.

See Also