CalendarView
CalendarView is the calendar items wrapper for the calendar.
Definition
Namespace:Telerik.Windows.Controls.Calendar
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public class CalendarView : HeaderedItemsControl
Inheritance: objectCalendarView
Constructors
Initializes a new instance of the CalendarView class.
public CalendarView()
Initializes a new instance of the CalendarView class.
public CalendarView(RadCalendar calendar)
The owner calendar of the calendar view.
Fields
ColumnsProperty
DependencyProperty
Identifies the Columns property.
public static readonly DependencyProperty ColumnsProperty
HeaderVisibilityProperty
DependencyProperty
Identifies the HeaderVisibility property.
public static readonly DependencyProperty HeaderVisibilityProperty
HideColumnProperty
DependencyProperty
Identifies the HideColumn property.
public static readonly DependencyProperty HideColumnProperty
HideRowProperty
DependencyProperty
Identifies the HideRow property.
public static readonly DependencyProperty HideRowProperty
OrientationProperty
DependencyProperty
Identifies the Orientation property.
public static readonly DependencyProperty OrientationProperty
RowsProperty
DependencyProperty
Identifies the Rows property.
public static readonly DependencyProperty RowsProperty
Properties
Gets or sets the number of columns of the CalendarView. This is a dependency property.
public int Columns { get; set; }
HeaderVisibility
Visibility
Gets or sets the visibility of the header of the Calendar view. This is a dependency property.
public Visibility HeaderVisibility { get; set; }
Gets or sets whether first column will be displayed.
public bool HideColumn { get; set; }
Orientation
Orientation
Gets or sets the orientation of the CalendarView. This is a dependency property.
public Orientation Orientation { get; set; }
Methods
When overridden in a derived class, undoes the effects of the method.
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
The container element.
itemobjectThe item.
GetContainerForItemOverride()
DependencyObject
Creates or identifies the element that is used to display the given item.
protected override DependencyObject GetContainerForItemOverride()
DependencyObject
The element that is used to display the given item.
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Invoked whenever an unhandled event reaches this element in its route.
protected override void OnGotFocus(RoutedEventArgs e)
The RoutedEventArgs that contains the event data.
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Called before the System.Windows.UIElement.LostMouseCapture event occurs to provide handling for the event in a derived class without attaching a delegate.
protected override void OnLostMouseCapture(MouseEventArgs e)
A System.Windows.Input.MouseEventArgs that contains the event data.
Called before the event occurs.
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
The data for the event.
Prepares the specified element to display the specified item.
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Element used to display the specified item.
itemobjectSpecified item.