MindFusion.Wpf Pack Programmer's Guide
Calendar Members
Constructors Fields Properties Methods Events
 


Represents a light-weight calendar control.

The following tables list the members exposed by the Calendar type.

 Public Constructors

  Name Description

Calendar

Initializes a new instance of the Calendar class.

 Public Fields

  Name Description

ButtonBackgroundProperty

Identifies the ButtonBackground dependency property.

ButtonBorderBrushProperty

Identifies the ButtonBorderBrush dependency property.

ButtonBorderThicknessProperty

Identifies the ButtonBorderThickness dependency property.

ButtonOverBackgroundProperty

Identifies the ButtonOverBackground dependency property.

ButtonPressedBackgroundProperty

Identifies the ButtonPressedBackground dependency property.

CenturyViewFormatProperty

Identifies the CenturyViewFormat dependency property.

ContentBackgroundProperty

Identifies the ContentBackground dependency property.

ContentBorderBrushProperty

Identifies the ContentBorderBrush dependency property.

ContentBorderThicknessProperty

Identifies the ContentBorderThickness dependency property.

CurrentViewProperty

Identifies the CurrentView dependency property.

DateProperty

Identifies the Date dependency property.

DateSelectionProperty

Identifies the DateSelection dependency property.

DayOfWeekFormatProperty

Identifies the DayOfWeekFormat dependency property.

DecadeViewFormatProperty

Identifies the DecadeViewFormat dependency property.

DefaultItemTemplateProperty

Identifies the DefaultItemTemplate dependency property.

FocusItemTemplateProperty

Identifies the FocusItemTemplate dependency property.

HeaderBackgroundProperty

Identifies the HeaderBackground dependency property.

HeaderBorderBrushProperty

Identifies the HeaderBorderBrush dependency property.

HeaderBorderThicknessProperty

Identifies the HeaderBorderThickness dependency property.

HeaderHeightProperty

Identifies the HeaderHeight dependency property.

HeaderProperty

Identifies the Header dependency property.

HeaderTemplateProperty

Identifies the HeaderTemplate dependency property.

HolidayItemTemplateProperty

Identifies the HolidayItemTemplate dependency property.

HolidaysDateSelectionProperty

Identifies the HolidaysDateSelection dependency property.

HoverItemTemplateProperty

Identifies the HoverItemTemplate dependency property.

MaxDrillInProperty

Identifies the MaxDrillIn dependency property.

MaxDrillOutProperty

Identifies the MaxDrillOut property.

MonthViewFormatProperty

Identifies the MonthViewFormat dependency property.

PaddingItemTemplateProperty

Identifies the PaddingItemTemplate dependency property.

SelectionItemTemplateProperty

Identifies the SelectionItemTemplate dependency property.

SelectionModeProperty

Identifies the SelectionMode dependency property.

SelectionOnTopProperty

Identifies the SelectionOnTop dependency property.

ShowPaddingDaysProperty

Identifies the ShowPaddingDays dependency property.

ShowTodayProperty

Identifies the ShowToday dependency property.

SubHeaderHeightProperty

Identifies the SubHeaderHeight dependency property.

TimeViewFormatProperty

Identifies the TimeViewFormat dependency property.

TodayItemTemplateProperty

Identifies the TodayItemTemplate dependency property.

WeekendItemTemplateProperty

Identifies the WeekendItemTemplate dependency property.

WeekHeaderAlignmentProperty

Identifies the WeekHeaderAlignment dependency property.

WeekHeaderWidthProperty

Identifies the WeekHeaderWidth dependency property.

YearViewFormatProperty

Identifies the YearViewFormat dependency property.

 Public Properties

  Name Description

ButtonBackground

Gets or sets the background of the buttons in the calendar. This is a dependency property.

ButtonBorderBrush

Gets or sets the border brush of the buttons in the calendar. This is a dependency property.

ButtonBorderThickness

Gets or sets the border thickness of the buttons in the calendar. This is a dependency property.

ButtonOverBackground

Gets or sets the background of the buttons in the calendar when they are pointed with the mouse. This is a dependency property.

ButtonPressedBackground

Gets or sets the background of the buttons in the calendar when they are pressed. This is a dependency property.

CenturyViewFormat

Gets or sets the formatting of the dates in the Century view. This is a dependency property.

ContentBackground

Gets or sets the background of the calendar content. This is a dependency property.

ContentBorderBrush

Gets or sets the border brush of the calendar content. This is a dependency property.

ContentBorderThickness

Gets or sets the border thickness of the calendar content. This is a dependency property.

CurrentView

Gets or sets the current view. This is a dependency property.

Date

Gets or sets the currently displayed date. This is a dependency property.

DateSelection

Gets or sets the list of dates selected in the calendar. This is a dependency property.

DayOfWeekFormat

Gets or sets the format of the days of the week displayed in the subheader. This is a dependency property.

DecadeViewFormat

Gets or sets the formatting of the dates in the Decade view. This is a dependency property.

DefaultItemTemplate

Gets or sets the default template of the calendar's cells. This is a dependency property.

FocusItemTemplate

Gets or sets the template of the cell containing the logical focus. This is a dependency property.

Header

Gets or sets the content of the calendar header. This is a dependency property.

HeaderBackground

Gets or sets the background of the calendar header. This is a dependency property.

HeaderBorderBrush

Gets or sets the brush of the border around the calendar header. This is a dependency property.

HeaderBorderThickness

Gets or sets the thickness of the border around the calendar header. This is a dependency property.

HeaderHeight

Gets or sets the height of the calendar header. This is a dependency property.

HeaderTemplate

Gets or sets the template used to display the content of the calendar's header. This is a dependency property.

HolidayItemTemplate

Gets or sets the template of the cells representing holidays. This is a dependency property.

HolidaysDateSelection

Gets or sets a list of holiday dates. This is a dependency property.

HoverItemTemplate

Gets or sets the template of the cell pointed with the mouse. This is a dependency property.

MaxDrillIn

Gets or sets the last view that can be drilled-in to. This is a dependency property.

MaxDrillOut

Gets or sets the last view that can be drilled-out to. This is a dependency property.

MonthViewFormat

Gets or sets the formatting of the dates in the Month view. This is a dependency property.

PaddingItemTemplate

Gets or sets the template of the padding cells. This is a dependency property.

SelectionItemTemplate

Gets or sets the template of the selected cells. This is a dependency property.

SelectionMode

Gets or sets the mode of the interactive selection in the calendar. This is a dependency property.

SelectionOnTop

Gets or sets a value indicating whether the selection is displayed above the corresponding cells or below them. This is a dependency property.

ShowPaddingDays

Gets or sets a value indicating whether the previous and next time intervals are displayed in the available space of the current view. This is a dependency property.

ShowToday

Gets or sets a value indicating whether the current date is highlighted in the calendar. This is a dependency property.

SubHeaderHeight

Gets or sets the height of the subheader, which displays the days of the week. This is a dependency property.

TimeViewFormat

Gets or sets the formatting of the times in the Time view. This is a dependency property.

TodayItemTemplate

Gets or sets the template of the cell representing the current date. This is a dependency property.

WeekendItemTemplate

Gets or sets the template of the cells representing weekends. This is a dependency property.

WeekHeaderAlignment

Gets or sets the alignment of the subheader, which displays the week numbers. This is a dependency property.

WeekHeaderWidth

Gets or sets the width of the subheader, which displays the week numbers. This is a dependency property.

YearViewFormat

Gets or sets the formatting of the dates in the Year view. This is a dependency property.

 Public Methods

  Name Description

OnApplyTemplate

FrameworkElement.OnApplyTemplate override.

 Protected Methods

  Name Description

OnKeyDown

UIElement.OnKeyDown override.

OnMouseLeftButtonDown

UIElement.OnMouseLeftButtonDown override.

 Public Events

  Name Description

DateClicked

Raised when the user clicks with the mouse on a specific date in the calendar.

DateSelectionChanged

Raises when the currently selected date in the calendar is changed interactively.

DrilledIn

Raised when the calendar is drilled-in interactively to a more specific view.

DrilledOut

Raised when the calendar is drilled-out interactively to a more general view.

Scrolled

Raises when the calendar is scrolled back and forth through the navigation buttons.

 See Also

Calendar Class
MindFusion.UI.Wpf Namespace