[]
Represents a single month calendar with an ability to interactively navigate through months and select a specific DateTime or its components.
[TemplatePart(Name = "PART_YearsComboBox", Type = typeof(ComboBox))]
[TemplatePart(Name = "PART_MonthsComboBox", Type = typeof(ComboBox))]
public class C1CalendarItem : CalendarBase, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IWeakEventListener, IDisposable
Name | Description |
---|---|
C1CalendarItem() | Initializes a new instance of the C1CalendarItem control. |
Name | Description |
---|---|
C1CalendarProperty | Identifies the C1Calendar dependency property. |
GenerateAdjacentNextMonthDaysProperty | Identifies the GenerateAdjacentNextMonthDays dependency property. |
GenerateAdjacentPreviousMonthDaysProperty | Identifies the GenerateAdjacentPreviousMonthDays dependency property. |
MonthFullNameProperty | Identifies the MonthFullName dependency property. |
ShowNextButtonProperty | Identifies the ShowNextButton dependency property. |
ShowPreviousButtonProperty | Identifies the ShowPreviousButton dependency property. |
Name | Description |
---|---|
C1Calendar | Gets a C1Calendar owning this C1CalendarItem control. This is a dependency property. |
GenerateAdjacentNextMonthDays | Gets or sets a value that determines whether the day slots corresponding to days of a month next to the currently represented one will show the days or will be empty. The default value is False. This is a dependency property. |
GenerateAdjacentPreviousMonthDays | Gets or sets a value that determines whether the day slots corresponding to days of a month previous to the currently represented one will show the days or will be empty. The default value is False. This is a dependency property. |
MonthFullName | Gets a full name of a month currently represented by calendar taking into account current culture. |
Months | Gets the C1CalendarItem.DateTimeInfoCollection object pre-populated with DateTimeInfo objects representing several adjoining months. This object can be used in xaml for navigating the C1CalendarItem control to the one of the adjoining months. |
ShowNextButton | Gets or sets a value that determines whether to show the next month navigation button. The default value is True. This is a dependency property. |
ShowPreviousButton | Gets or sets a value that determines whether to show the previous month navigation button. The default value is True. This is a dependency property. |
SyncRepresentationToDateTime | Gets the bool value, determining whether control synchronizes it's representation according to the changes of DateTime property. |
Years | Gets the C1CalendarItem.DateTimeInfoCollection object pre-populated with DateTimeInfo objects representing several adjoining years. This object can be used in xaml for navigating the C1CalendarItem control to the one of the adjoining years. |
Name | Description |
---|---|
Dispose() | Clean up any resources being used. |
Dispose(bool) | Clean up any resources being used. |
OnApplyTemplate() | Rebuilds calendar slots after initializing. |
OnCreateAutomationPeer() | Gets an AutomationPeer object used for testing the control. |
OnMonthChanged(DependencyPropertyChangedEventArgs) |