Class CalendarView
CalendarView is the calendar items wrapper for the calendar.
Inherited Members
Namespace: Telerik.Windows.Controls.Calendar
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class CalendarView : HeaderedItemsControl
Remarks
CalendarView is primitive building block for the calendar control and is not intended to be used separately.
Constructors
CalendarView()
CalendarView(RadCalendar)
Initializes a new instance of the CalendarView class.
Declaration
public CalendarView(RadCalendar calendar)
Parameters
RadCalendar
calendar
The owner calendar of the calendar view. |
Fields
ColumnsProperty
Identifies the Columns property.
Declaration
public static readonly DependencyProperty ColumnsProperty
Field Value
System.Windows.DependencyProperty
|
HeaderVisibilityProperty
Identifies the HeaderVisibility property.
Declaration
public static readonly DependencyProperty HeaderVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
HideColumnProperty
Identifies the HideColumn property.
Declaration
public static readonly DependencyProperty HideColumnProperty
Field Value
System.Windows.DependencyProperty
|
HideRowProperty
Identifies the HideRow property.
Declaration
public static readonly DependencyProperty HideRowProperty
Field Value
System.Windows.DependencyProperty
|
OrientationProperty
Identifies the Orientation property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.Windows.DependencyProperty
|
RowsProperty
Identifies the Rows property.
Declaration
public static readonly DependencyProperty RowsProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Columns
Gets or sets the number of columns of the CalendarView. This is a dependency property.
Declaration
public int Columns { get; set; }
Property Value
System.Int32
|
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
System.Windows.Visibility
|
HideColumn
Gets or sets whether first column will be displayed.
Declaration
public bool HideColumn { get; set; }
Property Value
System.Boolean
|
HideRow
Gets or sets whether first row will be displayed.
Declaration
public bool HideRow { get; set; }
Property Value
System.Boolean
|
Orientation
Gets or sets the orientation of the CalendarView. This is a dependency property.
Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Controls.Orientation
|
Rows
Gets or sets the number of rows of the CalendarView. This is a dependency property.
Declaration
public int Rows { get; set; }
Property Value
System.Int32
|
Methods
ClearContainerForItemOverride(DependencyObject, Object)
When overridden in a derived class, undoes the effects of the System.Windows.Controls.ItemsControl.PrepareContainerForItemOverride(System.Windows.DependencyObject,System.Object) method.
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject
element
The container element. |
System.Object
item
The item. |
GetContainerForItemOverride()
Creates or identifies the element that is used to display the given item.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
System.Windows.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.
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
System.Object
item
The item to check. |
Returns
System.Boolean
True if the item is (or is eligible to be) its own container; otherwise, false. |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
Overrides
OnCreateAutomationPeer()
Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
The type-specific System.Windows.Automation.Peers.AutomationPeer implementation. |
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
System.Windows.Input.MouseEventArgs
e
A System.Windows.Input.MouseEventArgs that contains the event data. |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Called before the System.Windows.UIElement.MouseLeftButtonUp event occurs.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
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
System.Windows.DependencyObject
element
Element used to display the specified item. |
System.Object
item
Specified item. |