Class CalendarView
CalendarView is the calendar items wrapper for the calendar.
Inheritance
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 Calendar
Declaration
public CalendarView(RadCalendar calendar)
Parameters
Rad The owner calendar of the calendar view. |
Fields
ColumnsProperty
Identifies the Columns property.
Declaration
public static readonly DependencyProperty ColumnsProperty
Field Value
System.
|
HeaderVisibilityProperty
Identifies the HeaderVisibility property.
Declaration
public static readonly DependencyProperty HeaderVisibilityProperty
Field Value
System.
|
HideColumnProperty
Identifies the HideColumn property.
Declaration
public static readonly DependencyProperty HideColumnProperty
Field Value
System.
|
HideRowProperty
Identifies the HideRow property.
Declaration
public static readonly DependencyProperty HideRowProperty
Field Value
System.
|
OrientationProperty
Identifies the Orientation property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.
|
RowsProperty
Identifies the Rows property.
Declaration
public static readonly DependencyProperty RowsProperty
Field Value
System.
|
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.
|
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.
|
HideColumn
Gets or sets whether first column will be displayed.
Declaration
public bool HideColumn { get; set; }
Property Value
System.
|
HideRow
Gets or sets whether first row will be displayed.
Declaration
public bool HideRow { get; set; }
Property Value
System.
|
Orientation
Gets or sets the orientation of the CalendarView. This is a dependency property.
Declaration
public Orientation Orientation { get; set; }
Property Value
System.
|
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.
|
Methods
ClearContainerForItemOverride(DependencyObject, Object)
When overridden in a derived class, undoes the effects of the System.
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
System. The container element. |
System. The item. |
GetContainerForItemOverride()
Creates or identifies the element that is used to display the given item.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
System. 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. The item to check. |
Returns
System. 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.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific System.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System. The type-specific System. |
OnGotFocus(RoutedEventArgs)
Invoked whenever an unhandled System.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
System. The System. |
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
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. A System.Windows.Input.MouseEventArgs that contains the event data. |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Called before the System.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System. 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. Element used to display the specified item. |
System. Specified item. |