[]
        
(Showing Draft Content)

C1.Win.Schedule.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.Schedule.UI
Assembly: C1.Win.Schedule.8.dll
Syntax
public class ScheduleTheme : BaseTheme, IComponent, IDisposable

Properties

Name Description
Appointment

Gets or sets the C1.Framework.Style object determining the appearance of the appointment element.

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.

CurrentTime

Gets or sets the C1.Framework.Style object determining the appearance of the current time label on the time ruler.

CurrentTimeVertical

Gets or sets the C1.Framework.Style object determining the appearance of the current time label in the time line view.

DayViewDayName

Gets or sets the C1.Framework.Style object determining the appearance of the day name part of the day header in the day view.

DayViewHeader

Gets or sets the C1.Framework.Style object determining the appearance of the day header in the day view.

DayViewHeaderSelected

Gets or sets the C1.Framework.Style object determining the appearance of the selected day header in the day view.

Default

Gets the predefined theme of the Default type.

FreeHour

Gets or sets the C1.Framework.Style object determining the appearance of free hours in the day view.

GroupTabStyle

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

Header

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

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.

Info

Gets or sets the C1.Framework.Style object determining the style of information in the header of the control.

MonthDayHeader

Gets or sets the C1.Framework.Style object determining the appearance of the day header in the month view.

MonthDayHeaderSelected

Gets or sets the C1.Framework.Style object determining the appearance of the selected day header in the month view.

MonthViewGridHeader

Gets or sets the C1.Framework.Style object determining the appearance of the grid header in the month view.

NavigationPane

Gets or sets the C1.Framework.Style object determining the navigation panes appearance.

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.

TimeLine

Gets or sets the C1.Framework.Style object determining the general appearance of the time line view.

TimeLineRuler

Gets or sets the C1.Framework.Style object determining the appearance of the time ruler in the time line view.

TimeRuler

Gets or sets the C1.Framework.Style object determining the appearance of the time ruler in the day view.

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.

Title

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

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.

Today

Gets or sets the C1.Framework.Style object determining the appearance of the current day and day header in different views.

WeekDayHeader

Gets or sets the C1.Framework.Style object determining the appearance of the day header in the week view.

WeekDayHeaderSelected

Gets or sets the C1.Framework.Style object determining the appearance of the selected day header in the week view.

WeekTab

Gets or sets the C1.Framework.Style object determining the appearance of the week tab in the month view.

WeekTabStyle

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

WorkHour

Gets or sets the C1.Framework.Style object determining the appearance of work hours in the day view.

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.Schedule.UI.ScheduleTheme.ThemeChanging event

ReadCustomData(XmlNode)
UpdatePalette()

Updates all C1Schedule styles according to the currently selected palette.

WriteCustomData(XmlWriter)