CssOnly Mode

Behavior

In the CssOnly mode it is possible to style all Monthly Calendar elements. The legacy mode (CssOnly=false) only supports styling of selected elements. The internal DOM structure is different (especially the event box).

You can activate the CssOnly mode using CssOnly=true.

It's available in DayPilot 7.0 and later.

In the CssOnly mode, all the class names include a leading underscore (unlike the old mode when CssOnly="false"). Using CssClassPrefix="month_white" will produce classes like "month_white_message". In the CssOnly="false" mode the underscore was part of the custom prefix (CssClassPrefix="month_silver_"). This means the old themes are not compatible with CssOnly mode.