[]
        
(Showing Draft Content)

C1.Win.C1Schedule.UI.ScheduleTheme

ScheduleTheme Class

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

Inheritance
ScheduleTheme
Implements
Namespace: C1.Win.C1Schedule.UI
Assembly: C1.Win.C1Schedule.4.8.dll
Syntax
[TypeConverter(typeof(BaseThemeConverter))]
public class ScheduleTheme : BaseTheme, IComponent, IDisposable

Properties

Name Description
AppointmentCornerRadius

Gets or sets a int value determining appointment corner radius.

BaseFont

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

ComponentType
CurrentPalette

Gets or sets Color value determining the currently used palette. At setting this property C1Schedule control tries to find corresponding palette in Palettes collection and attaches it to the views.

GroupTabStyle

Gets or sets a GroupTabStyle value determining the style of group tabs.

HighlightDayStatus

Gets or sets a bool value determining whether to highlight availability status. Set this value to true to change day or time slot background according to the appointment availability status.

Office2007Black

Gets the predefined theme of the Office2007Black type.

Office2007Blue

Gets the predefined theme of the Office2007Blue type.

Office2007Silver

Gets the predefined theme of the Office2007Silver type.

Office2010Black

Gets the predefined theme of the Office2010Black type.

Office2010Blue

Gets the predefined theme of the Office2010Blue type.

Office2010Silver

Gets the predefined theme of the Office2010Silver type.

Palette

Gets the currently used Palette object.

PaletteType

Gets or sets a PaletteType value determining which type of palletes should be used.

Palettes

Gets the Palettes collection available for the current theme.

RoundBrowseButtons

Gets or sets a bool value determining whether browse buttons in the title should be round.

ShortMonthDayFormat

Gets or sets the string value which determines format string used to show date in month view day headers.

ShowBrowseButtons

Gets or sets a bool value determining whether to show browse buttons in the title.

ShowEndTimeMonthView

Gets or sets a bool value determining whether to show appointment end time in the month view.

ShowEndTimeWeekView

Gets or sets a bool value determining whether to show appointment end time in the Office 2003 style week view.

ShowMinuteLine

Gets or sets a bool value determining whether to show line between minutes on the time ruler.

ShowNavigationPanels

Gets or sets a bool value determining whether to show navigation panels at the sides of views.

ShowTimeMonthView

Gets or sets a bool value determining whether to show appointment time in the month view.

ShowTodayBorder

Gets or sets a bool value determining if control should show orange border around today date (as in Office 2007).

ShowWeekTabs

Gets or sets a bool value determining if control should show week tabs in the MonthView

System

Gets the predefined theme of the System type.

TimeRulerFormat2

Gets or sets the string value which determines time format string used in the time ruler for displaying times other then the beginning of the hour.

TimeRulerMinutesFont

Gets or sets the Font object which should be used for displaying minutes on the Time Ruler.

TitleImage

Gets or sets the Image object which should be used for displaying the image in the right corner of the title.

TitleText

Gets or sets the string which is displayed in the title.

WeekTabStyle

Gets or sets a WeekTabStyle value determining the style of week tabs.

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()
OnThemeChanging()

Raises the C1.Win.C1Schedule.UI.ScheduleTheme.ThemeChanging event

ReadCustomData(XmlNode)
UpdatePalette()

Updates all C1Schedule styles according to the currently selected palette.

WriteCustomData(XmlWriter)