[]
        
(Showing Draft Content)

C1.Win.Schedule.UI.CalendarTheme

CalendarTheme Class

The C1.Framework.Theme class represents the theme for the C1Calendar control. It is a set of C1.Framework.Style objects which contain display attributes that determine the appearance of control.

Inheritance
CalendarTheme
Implements
Namespace: C1.Win.Schedule.UI
Assembly: C1.Win.Schedule.8.dll
Syntax
public class CalendarTheme : BaseTheme, IComponent, IDisposable

Properties

Name Description
BaseFont

Set this property in order to change C1.Framework.Style.Fontvalues in all C1.Framework.Style objects at once.

ComponentType
Day

Gets or sets the C1.Framework.Style object determining the style of the ordinal day.

DayBold

Gets or sets the C1.Framework.Style object determining the style of the bold day.

DayHeader

Gets or sets the C1.Framework.Style object determining the style of the day header.

DaySelected

Gets or sets the C1.Framework.Style object determining the style of the selected day.

DaySelectedBold

Gets or sets the C1.Framework.Style object determining the style of the day which is selected and bold at the same time.

DayToday

Gets or sets the C1.Framework.Style object determining the displaying style of the current day.

DayTrail

Gets or sets the C1.Framework.Style object determining the style of the trail day. Trail day is a day which doesn't belong to the currently displayed month (i.e. the day before the first or after the last day of the month).

DayWeekend

Gets or sets the C1.Framework.Style object determining the style of the weekend day.

Default

Gets the predefined theme of the Default type.

Header

Gets or sets the C1.Framework.Style object determining the style of the month header.

System

Gets the predefined theme of the System type.

XmlDefinition

Gets or sets the string value representing the VisualStyle in xml encoding.

Methods

Name Description
Dispose(bool)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

LoadThemes(string)

Loads a collection of themes from an Xml file.

OnThemeChanged()
ReadCustomData(XmlNode)
WriteCustomData(XmlWriter)