ClassCalendarView
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
CalendarView()
Initializes a new instance of the CalendarView class.
Declaration
public CalendarView()
CalendarView(RadCalendar)
Initializes a new instance of the CalendarView class.
Declaration
public CalendarView(RadCalendar calendar)
Parameters
calendar
The owner calendar of the calendar view.
Fields
ColumnsProperty
Identifies the Columns property.
Declaration
public static readonly DependencyProperty ColumnsProperty
Field Value
DependencyProperty
HeaderVisibilityProperty
Identifies the HeaderVisibility property.
Declaration
public static readonly DependencyProperty HeaderVisibilityProperty
Field Value
DependencyProperty
HideColumnProperty
Identifies the HideColumn property.
Declaration
public static readonly DependencyProperty HideColumnProperty
Field Value
DependencyProperty
HideRowProperty
Identifies the HideRow property.
Declaration
public static readonly DependencyProperty HideRowProperty
Field Value
DependencyProperty
OrientationProperty
Identifies the Orientation property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
DependencyProperty
RowsProperty
Identifies the Rows property.
Declaration
public static readonly DependencyProperty RowsProperty
Field Value
DependencyProperty
Properties
Columns
Gets or sets the number of columns of the CalendarView. This is a dependency property.
HeaderVisibility
Gets or sets the visibility of the header of the Calendar view. This is a dependency property.
Declaration
public Visibility HeaderVisibility { get; set; }
Property Value
Visibility
HideColumn
Gets or sets whether first column will be displayed.
HideRow
Gets or sets whether first row will be displayed.
Orientation
Gets or sets the orientation of the CalendarView. This is a dependency property.
Declaration
public Orientation Orientation { get; set; }
Property Value
Orientation
Methods
ClearContainerForItemOverride(DependencyObject, object)
When overridden in a derived class, undoes the effects of the method.
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
The container element.
item
The item.
GetContainerForItemOverride()
Creates or identifies the element that is used to display the given item.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
DependencyObject
The element that is used to display the given item.
IsItemItsOwnContainerOverride(object)
Determines if the specified item is (or is eligible to be) its own container.
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call .
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
The type-specific AutomationPeer implementation.
OnGotFocus(RoutedEventArgs)
Invoked whenever an unhandled event reaches this element in its route.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
The RoutedEventArgs that contains the event data.
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnLostMouseCapture(MouseEventArgs)
Called before the System.Windows.UIElement.LostMouseCapture event occurs to provide handling for the event in a derived class without attaching a delegate.
Declaration
protected override void OnLostMouseCapture(MouseEventArgs e)
Parameters
e
MouseEventArgs
A System.Windows.Input.MouseEventArgs that contains the event data.
OnMouseLeftButtonUp(MouseButtonEventArgs)
Called before the event occurs.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
The data for the event.
PrepareContainerForItemOverride(DependencyObject, object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
Element used to display the specified item.
item
Specified item.