ComponentOne True DBInput Pro 8.0
HolidayStyles Property (TDBHolidayX)

 

Reference> TDBHolidayX Object> TDBHolidayX Object Properties> HolidayStyles Property (TDBHolidayX)

HolidayStyles Property (TDBHolidayX)

The HolidayStyles property is a collection object where more than one HolidayStyle object is stored. The calendar control uses these objects to determine the holidays.

Syntax

object.HolidayStyles

Read-only at run time. Not available at design time.

Remarks

When multiple holidays are used, the last holiday style will reflect the newest changes when the same dates are overlapping each other

The TDBHolidayX (holiday manager) object uses these objects to determine the holidays. When multiple holidays are used, the last holiday style will reflect the newest changes when same dates are overlapping each other.

The nth weekday of a month can be retrieved and added to the HolidayStylesCollection using the EnumWeekdays method. For the details please refer to the TDBDateX object specification.

Please refer to the Default Style settings for provided holiday styles that can be registered to the HolidayStyles collection at design time through the Property Page.

See Also

HolidayStylesCollection Properties

HolidayStyle Object Properties

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback