[]
        
(Showing Draft Content)

C1.WPF.Calendar.C1MultiMonthCalendar

C1MultiMonthCalendar Class

Represents a multi month calendar with an ability to interactively navigate through months and select a specific DateTime value or its components.

Inheritance
C1MultiMonthCalendar
Namespace: C1.WPF.Calendar
Assembly: C1.WPF.Calendar.dll
Syntax
[StyleTypedProperty(Property = "MonthCalendarStyle", StyleTargetType = typeof(C1Calendar))]
[StyleTypedProperty(Property = "MonthSlotStyle", StyleTargetType = typeof(MonthSlotPresenter))]
public class C1MultiMonthCalendar : C1View

Constructors

Name Description
C1MultiMonthCalendar()

Initializes a new instance of the C1MultiMonthCalendar class.

Fields

Name Description
AdjacentDayStyleProperty

Identifies the AdjacentDayStyle dependency property.

BoldedDatesProperty

Identifies the BoldedDates dependency property.

CalendarHelperProperty

Identifies the CalendarHelper dependency property.

CalendarTypeProperty

Identifies the CalendarType dependency property.

DayBackgroundProperty

Identifies the DayBackground dependency property.

DayBorderBrushProperty

Identifies the DayBorderBrush dependency property.

DayBorderThicknessProperty

Identifies the DayBorderThickness dependency property.

DayForegroundProperty

Identifies the DayForeground dependency property.

DayOfWeekFormatProperty

Identifies the DayOfWeekFormat dependency property.

DayOfWeekSlotStyleProperty

Identifies the DayOfWeekSlotStyle dependency property.

DayOfWeekSlotTemplateProperty

Identifies the DayOfWeekSlotTemplate dependency property.

DaySlotStyleProperty

Identifies the DaySlotStyle dependency property.

DaySlotTemplateProperty

Identifies the DaySlotTemplate dependency property.

DaysOfWeekPanelProperty

Identifies the DaysOfWeekPanel dependency property.

DaysPanelProperty

Identifies the DaysPanel dependency property.

DisabledForegroundProperty

Identifies the DisabledForeground dependency property.

DisplayDateProperty

Identifies the DisplayDate dependency property.

FirstDayOfWeekProperty

Identifies the FirstDayOfWeek dependency property.

HeaderMonthFormatProperty

Identifies the HeaderMonthFormat dependency property.

MaxDateProperty

Identifies the MaxDate dependency property.

MaxSelectionCountProperty

Identifies the MaxSelectionCount dependency property.

MinDateProperty

Identifies the MinDate dependency property.

MonthCalendarStyleProperty

Identifies the MonthCalendarStyle dependency property.

MonthCountProperty

Identifies the MonthCount dependency property.

MonthElementOrientationProperty

Identifies the MonthElementOrientation dependency property.

MonthHeaderBackgroundProperty

Identifies the MonthHeaderBackground dependency property.

MonthHeaderFontFamilyProperty

Identifies the MonthHeaderFontFamily dependency property.

MonthHeaderFontSizeProperty

Identifies the MonthHeaderFontSize dependency property.

MonthHeaderFontWeightProperty

Identifies the MonthHeaderFontWeight dependency property.

MonthHeaderForegroundProperty

Identifies the MonthHeaderForeground dependency property.

MonthHeightProperty

Identifies the MonthHeight dependency property.

MonthSlotStyleProperty

Identifies the MonthSlotStyle dependency property.

MonthWidthProperty

Identifies the MonthWidth dependency property.

MonthsPanelProperty

Identifies the MonthsPanel dependency property.

MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

MouseOverModeProperty

Identifies the MouseOverMode dependency property.

NextButtonStyleProperty

Identifies the NextButtonStyle dependency property.

PrevButtonStyleProperty

Identifies the PrevButtonStyle dependency property.

RequestedThemeProperty

Identifies the RequestedTheme dependency property.

SelectedDateProperty

Identifies the SelectedDate dependency property.

SelectedDatesProperty

Identifies the SelectedDates dependency property.

SelectionBackgroundProperty

Identifies the SelectionBackground dependency property.

SelectionForegroundProperty

Identifies the SelectionForeground dependency property.

SelectionModeProperty

Identifies the SelectionMode dependency property.

ShowAdjacentDayProperty

Identifies the ShowAdjacentDay dependency property.

ShowHeaderProperty

Identifies the ShowHeader dependency property.

ShowNavigationButtonsProperty

Identifies the ShowNavigationButtons dependency property.

ThemeResourceProperty

Identifies the ThemeResource dependency property.

TodayBrushProperty

Identifies the TodayBrush dependency property.

Properties

Name Description
AdjacentDayStyle

Gets or sets the style for the AdjacentDay slot.

BoldedDates

Gets or sets the collection of the Bolded dates.

CalendarHelper

Identifies the CalendarHelper dependency property.

CalendarType

Gets or sets the type of calendar.

DayBackground

Gets or sets the background for the day slots.

DayBorderBrush

Gets or sets a Brush object used to underline days of week. This is a dependency property.

DayBorderThickness

Gets or sets the border thickness between day slots.

DayForeground

Gets or sets the color of the text displayed in the day slots.

DayOfWeekFormat

Gets or sets the format used to display the day of the week.

DayOfWeekSlotStyle

Gets or sets a Style for DayOfWeekSlotPresenter elements which are the root elements of a visual tree representing a single day of the week.

DayOfWeekSlotTemplate

Gets or sets a DataTemplate that defines a UI representation of a single day of the week. This is a dependency property.

DaySlotStyle

Gets or sets a Style for DaySlotPresenter elements which are the root elements of a visual tree representing a single day of a month.

DaySlotTemplate

Gets or sets a DataTemplate that defines a UI representation of a single day of a month. This is a dependency property.

DaysOfWeekPanel

Gets or sets an ItemsPanelTemplate that defines the panel that lays out elements representing days of the week. This is a dependency property.

DaysPanel

Gets or sets an ItemsPanelTemplate that defines the panel that lays out elements representing days of a month. This is a dependency property.

DisabledForeground

Gets or sets a Brush object used to display disabled days. This is a dependency property.

DisplayDate

Gets or sets a value specifying the currently displayed date of the year.

FirstDayOfWeek

Gets or sets a value that represents the first day of the week, the one displayed in the first column of the calendar.

HeaderMonthFormat

Gets or sets the format used to display the month of the year when the ViewMode is Month.

MaxDate

Gets or sets the maximum allowable date. The default is 12/31/9998. This is a dependency property.

MaxSelectionCount

Identifies the MaxSelectionCount dependency property.

MinDate

Gets or sets the minimum allowable date. The default is 01/01/1753. This is a dependency property.

MonthCalendarStyle

Gets or sets a Style applied to each child C1Calendar representing a single month. This is a dependency property.

MonthCount

Gets or sets a number of months currently represented by the calendar. The default value is 1. This is a dependency property.

MonthElementOrientation

Gets or sets a value indicating which orientation the calendar navigates.

MonthHeaderBackground

Gets or sets a Brush object used to color month header. This is a dependency property.

MonthHeaderFontFamily

Gets or sets a FontFamily object used to to display month header text. This is a dependency property.

MonthHeaderFontSize

Gets or sets a double value determining month header font size. This is a dependency property.

MonthHeaderFontWeight

Gets or sets a FontWeight object used to to display month header text. This is a dependency property.

MonthHeaderForeground

Gets or sets a Brush object used to color month header text. This is a dependency property.

MonthHeight

Gets or sets a value that determines a height of each month slot of the calendar. This is a dependency property.

MonthSlotStyle

Gets or sets a Style for C1CalendarPresenter elements which are the root elements of a visual tree representing a single month. This is a dependency property.

MonthWidth

Gets or sets a value that determines a width of each month slot of the calendar. This is a dependency property.

MonthsPanel

Gets or sets an ItemsPanelTemplate that defines the panel that lays out elements representing separate months. This is a dependency property.

MouseOverBrush

Gets or sets the Brush that is used to highlight slots when the mouse is over.

MouseOverMode

Gets or sets the mouse-over mode.

NextButtonStyle

Gets or sets the style applied to the next button.

PrevButtonStyle

Gets or sets the style applied to the previous button.

RequestedTheme

Gets or sets a the default theme used by the CalendarBase control for resource determination.

SelectedDate

Gets or sets the currently selected date.

SelectedDates

Gets or sets the currently selected dates.

SelectionBackground

Gets or sets the color used to highlight selected dates.

SelectionForeground

Gets or sets a Brush object used to highlight selected dates. This is a dependency property.

SelectionMode

Gets or sets the selection behavior for the C1MultiMonthCalendar control. This is a dependency property. The default value is Extended.

ShowAdjacentDay

Default is true - AdjacentDay will invisible if set false.

ShowHeader

Header will be shown if set, default value is true.

ShowNavigationButtons

Navigation Buttons will be shown if set, default value is true.

ThemeResource

Gets or sets a ResourceDictionary object containing theme resources.

TodayBrush

Gets or sets a Brush object used to highlight current date. This is a dependency property.

Methods

Name Description
Dispose(bool)
InvalidateCalendarHelper()
InvalidateTheme()
OnApplyTemplate()
OnLoaded(object, RoutedEventArgs)
OnSelectionChanged(CalendarSelectionChangedEventArgs)

Raises the SelectionChanged event.

OnSelectionChanging(CalendarSelectionChangingEventArgs)

Raises the SelectionChanging event.

Events

Name Description
SelectionChanged

Occurs when the SelectedDate or SelectedDates properties change.

SelectionChanging

Occurs before the selection changed.