Class
CalendarView

CalendarView is the calendar items wrapper for the calendar.

Definition

Namespace:Telerik.Windows.Controls.Calendar

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
public class CalendarView : HeaderedItemsControl

Inheritance: objectCalendarView

Constructors

CalendarView()

Initializes a new instance of the CalendarView class.

Declaration

cs-api-definition
public CalendarView()

CalendarView(RadCalendar)

Initializes a new instance of the CalendarView class.

Declaration

cs-api-definition
public CalendarView(RadCalendar calendar)

Parameters

calendar

RadCalendar

The owner calendar of the calendar view.

Fields

ColumnsProperty

Identifies the Columns property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnsProperty

Field Value

DependencyProperty

HeaderVisibilityProperty

Identifies the HeaderVisibility property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderVisibilityProperty

Field Value

DependencyProperty

HideColumnProperty

Identifies the HideColumn property.

Declaration

cs-api-definition
public static readonly DependencyProperty HideColumnProperty

Field Value

DependencyProperty

HideRowProperty

Identifies the HideRow property.

Declaration

cs-api-definition
public static readonly DependencyProperty HideRowProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the Orientation property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

RowsProperty

Identifies the Rows property.

Declaration

cs-api-definition
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.

Declaration

cs-api-definition
public int Columns { get; set; }

Property Value

int

HeaderVisibility

Gets or sets the visibility of the header of the Calendar view. This is a dependency property.

Declaration

cs-api-definition
public Visibility HeaderVisibility { get; set; }

Property Value

Visibility

HideColumn

Gets or sets whether first column will be displayed.

Declaration

cs-api-definition
public bool HideColumn { get; set; }

Property Value

bool

HideRow

Gets or sets whether first row will be displayed.

Declaration

cs-api-definition
public bool HideRow { get; set; }

Property Value

bool

Orientation

Gets or sets the orientation of the CalendarView. This is a dependency property.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

Rows

Gets or sets the number of rows of the CalendarView. This is a dependency property.

Declaration

cs-api-definition
public int Rows { get; set; }

Property Value

int

Methods

ClearContainerForItemOverride(DependencyObject, object)

When overridden in a derived class, undoes the effects of the method.

Declaration

cs-api-definition
protected override void ClearContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

The container element.

item

object

The item.

GetContainerForItemOverride()

Creates or identifies the element that is used to display the given item.

Declaration

cs-api-definition
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.

Declaration

cs-api-definition
protected override bool IsItemItsOwnContainerOverride(object item)

Parameters

item

object

The item to check.

Returns

bool

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 .

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

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

cs-api-definition
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

cs-api-definition
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

cs-api-definition
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

Element used to display the specified item.

item

object

Specified item.