skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class CalendarView

CalendarView is the calendar items wrapper for the calendar.

Inheritance
System.Object
CalendarView
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()

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
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()

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.

OnGotFocus(RoutedEventArgs)

Invoked whenever an unhandled System.Windows.UIElement.GotFocus event reaches this element in its route.

Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
System.Windows.RoutedEventArgs e

The System.Windows.RoutedEventArgs that contains the event data.

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

The System.Windows.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
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.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.