Class CalendarItem
Represents the currently displayed month or year on a Calendar.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls.Primitives
Assembly: OpenSilver.Controls.dll
Syntax
[TemplatePart(Name = "Root", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "HeaderButton", Type = typeof(Button))]
[TemplatePart(Name = "PreviousButton", Type = typeof(Button))]
[TemplatePart(Name = "NextButton", Type = typeof(Button))]
[TemplatePart(Name = "DayTitleTemplate", Type = typeof(DataTemplate))]
[TemplatePart(Name = "MonthView", Type = typeof(Grid))]
[TemplatePart(Name = "YearView", Type = typeof(Grid))]
[TemplatePart(Name = "DisabledVisual", Type = typeof(FrameworkElement))]
public sealed class CalendarItem : Control, IControl, IFrameworkElement, IUIElement, IDependencyObject
Constructors
| Improve this Doc View SourceCalendarItem()
Initializes a new instance of the CalendarItem class.
Declaration
public CalendarItem()
Methods
| Improve this Doc View SourceOnApplyTemplate()
Builds the visual tree for the CalendarItem when a new template is applied.
Declaration
public override void OnApplyTemplate()