Back to Devexpress

cxShowHolidaysEditor(TcxSchedulerHolidays,TcxLookAndFeel,TControl) Method

vcl-cxschedulerdialogs-dot-cxshowholidayseditor-x28-0fde09b6-x29.md

latest1.6 KB
Original Source

cxShowHolidaysEditor(TcxSchedulerHolidays,TcxLookAndFeel,TControl) Method

Invokes the Holidays editor dialog for the specified TcxSchedulerHolidays component.

Declaration

delphi
function cxShowHolidaysEditor(var AHolidays: TcxSchedulerHolidays; ALookAndFeel: TcxLookAndFeel; AControl: TControl = nil): Boolean;

Parameters

NameType
AHolidaysTcxSchedulerHolidays
ALookAndFeelTcxLookAndFeel
AControlTControl

Returns

Type
Boolean

Remarks

The Holidays editor allows an end-user to create holidays and locations associated with them.

{Image}

Use the AHolidays parameter to associate the Holidays editor dialog with a TcxSchedulerHolidays component. The ALookAndFeel parameter specifies the look and feel settings of the displayed dialog.

The cxShowHolidaysEditor function returns True if an end-user saves changes made in the dialog; otherwise – False.

See Also

cxSchedulerDialogs.cxShowRecurrenceHolidayEditor

How to Add Holidays to a Scheduler at Design-Time

cxSchedulerDialogs Unit