[]
        
(Showing Draft Content)

C1.WPF.Schedule.C1CalendarResources

C1CalendarResources Class

The C1CalendarResources keeps the set of resources used by the CalendarBase derived controls. Static fields of this class return default CalendarBase's themes.

Inheritance
C1CalendarResources
Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
public class C1CalendarResources : ThemeResources
Remarks

Resource lookup behavior:

  • If Theme property is set to something other than Classic System Colors theme, the lookup process checks for the requested key within the resource dictionary defined by the current control theme
  • The lookup process checks resources in a usual way (in page, window or application resources)
  • The lookup process checks resources in default theme dictionary.

Constructors

Name Description
C1CalendarResources()

Initializes the new instance of the C1CalendarResources class.

Fields

Name Description
Default

Gets the ResourceDictionary representing Default theme. This theme uses system-defined colors. This is a default theme for calendar controls.

Properties

Name Description
DayOfWeekSlotStyle

Gets the Style object describing day of week slot style.

DayOfWeekSlotTemplate

Gets the DataTemplate defining a UI representation of a single day of week.

DaySlotStyle

Gets the Style object describing the style of single day slot.

DaySlotTemplate

Gets the DataTemplate defining a UI representation of a single day of a month.

DaysOfWeekPanel

Gets the ItemsPanelTemplate defining the panel that lays out elements representing days of week.

DaysPanel

Gets the ItemsPanelTemplate object defining the panel that lays out elements representing days of a month.

DuskBlue

Obsolete. Gets the ResourceDictionary representing CalendarBase Dusk Blue theme.

DuskGreen

Obsolete. Gets the ResourceDictionary representing CalendarBase Dusk Green theme.

MediaPlayer

Obsolete. Gets the ResourceDictionary representing CalendarBase Media Player theme.

MonthCalendarStyle

Gets the Style object describing style of a single month in a multi-month calendar.

MonthSlotStyle

Gets the Style object describing style of C1CalendarPresenter elements which are the root elements of a visual tree representing a single month in a multi-month calendar.

MonthsPanel

Gets the ItemsPanelTemplate defining the panel that lays out elements representing separate months in a multi-month calendar.

Office2007Black

Gets the ResourceDictionary representing CalendarBase Office 2007 Black theme.

Office2007Blue

Gets the ResourceDictionary representing CalendarBase Office 2007 Blue theme.

Office2007Silver

Gets the ResourceDictionary representing CalendarBase Office 2007 Silver theme.

Office2010Black

Gets the ResourceDictionary representing CalendarBase Office 2010 Black theme.

Office2010Blue

Gets the ResourceDictionary representing CalendarBase Office 2010 Blue theme.

Office2010Silver

Gets the ResourceDictionary representing CalendarBase Office 2010 Silver theme.

Office2016Black

Gets the ResourceDictionary representing CalendarBase Office 2016 Black theme.

Office2016Colorful

Gets the ResourceDictionary representing CalendarBase Office 2016 Colorful theme.

Office2016DarkGray

Gets the ResourceDictionary representing CalendarBase Office 2016 Dark Gray theme.

Office2016White

Gets the ResourceDictionary representing CalendarBase Office 2016 White theme.

Theme

Gets or sets the ResourceDictionary object used as the theme for the control.

Vista

Obsolete. Gets the ResourceDictionary representing CalendarBase Vista theme.

Methods

Name Description
RefreshResources()

Refreshes resources according to the currently selected theme.