New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Summary description for CalendarView. Related to Multi-View Mode functionality.

Definition

Namespace:Telerik.Web.UI.Calendar.View

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public abstract class CalendarView

Inheritance: objectCalendarView

Derived Classes: MonthView

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Fields

C#
[SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
protected Calendar DefaultCalendar

Properties

Gets the current CalendarView child views as a CalendarViewCollection.

C#
public CalendarViewCollection ChildViews { get; }
Property Value:

The current CalendarView child views as a CalendarViewCollection.

Gets or sets the column header image.

C#
public string ColumnHeaderImage { get; set; }
Property Value:

The column header image.

Gets or sets the column header text.

C#
public string ColumnHeaderText { get; set; }
Property Value:

The column header text.

Gets or sets the conditions error message which will be displayed if there any errors in the settings.

C#
public string ConditionsErrorMessage { get; set; }
Property Value:

The conditions error message which will be displayed if there any errors in the settings.

Gets or sets the current view begin date.

C#
public DateTime CurrentViewBeginDate { get; set; }
Property Value:

The current view begin date.

Gets or sets the current view end date.

C#
public DateTime CurrentViewEndDate { get; set; }
Property Value:

The current view end date.

Gets the default column index.

C#
public int DefaultColumn { get; }
Property Value:

The default column index.

Gets the default row index.

C#
public int DefaultRow { get; }
Property Value:

The default row index.

Gets or sets if the multi selection of dates will be enabled\disabled.

C#
public bool EnableMultiSelect { get; set; }
Property Value:

Determines if the multi selection of dates will be enabled\disabled.

Gets or sets if MultiView Mode is enabled\disabled.

C#
public bool EnableMultiView { get; set; }
Property Value:

Determines if MultiView Mode is enabled\disabled.

Gets or sets if the view selector is enabled.

C#
public bool EnableViewSelector { get; set; }
Property Value:

Determines if the view selector is enabled.

Gets or sets the header TableItemStyle.

C#
public TableItemStyle HeaderSettings { get; set; }
Property Value:

The header TableItemStyle.

Gets or sets the ID of the CalendarView. Returns the parent RadCalendar ClientID if the view is TopView.

C#
public string ID { get; set; }
Property Value:

The ID of the CalendarView. Returns the parent RadCalendar ClientID if the view is TopView.

Gets or sets if the CalendarView is hidden.

C#
public bool IsHidden { get; set; }
Property Value:

Determines if the CalendarView is hidden.

Gets or sets if the calendar view is initialized.

C#
public bool IsInitialized { get; set; }
Property Value:

Determines if the calendar view is initialized.

Gets if the MultiView Mode is enabled.

C#
public bool IsSingleView { get; }
Property Value:

Determines if the MultiView Mode is enabled.

Gets if the view the top view or part of the child RadCalendar views.

C#
public bool IsTopView { get; }
Property Value:

Determines if the view the top view or part of the child RadCalendar views.

Gets the number of columns for the multi view.

C#
public int MultiViewColumns { get; }
Property Value:

The number of columns for the multi view.

Gets the number of rows for the multi view.

C#
public int MultiViewRows { get; }
Property Value:

The number of rows for the multi view.

Gets the next CalendarView.

C#
public CalendarView NextView { get; }
Property Value:

The next CalendarView.

RenderInRows - Renders the calendar data row after row. RenderInColumns - Renders the calendar data column after column. None - Enforces fallback to the default Orientation for Telerik RadCalendar.

C#
public Orientation Orientation { get; }
Property Value:

RenderInRows - Renders the calendar data row after row. RenderInColumns - Renders the calendar data column after column. None - Enforces fallback to the default Orientation for Telerik RadCalendar.

Gets or sets the parent CalendarView.

C#
public CalendarView Parent { get; set; }
Property Value:

The parent CalendarView.

Gets or sets the parent RadCalendar controls.

C#
public RadCalendar ParentCalendar { get; set; }
Property Value:

The parent RadCalendar controls.

The presentation type which describes how RadCalendar will handle its layout, and how will react to user interaction. Interactive - user is allowed to select dates, navigate, etc. Preview - does not allow user interaction, for presentation purposes only.

C#
public PresentationType PresentationType { get; }

Gets the previous CalendarView.

C#
public CalendarView PreviousView { get; }
Property Value:

The previous CalendarView.

Gets or sets the row header image.

C#
public string RowHeaderImage { get; set; }
Property Value:

The row header image.

Gets or sets the row selector text.

C#
public string RowSelectorText { get; set; }
Property Value:

The row selector text.

Gets or sets if the calendar view header will be visible.

C#
public bool ShowCalendarViewHeader { get; set; }
Property Value:

Determines if the calendar view header will be visible.

Gets or sets if the column headers will be visible.

C#
public bool ShowColumnHeaders { get; set; }
Property Value:

Determines if the column headers will be visible.

Gets or sets if the row headers will be visible.

C#
public bool ShowRowHeaders { get; set; }
Property Value:

Determines if the row headers will be visible.

Gets the single view columns.

C#
public int SingleViewColumns { get; }
Property Value:

The single view columns.

Gets or sets the height of the single view.

C#
public Unit SingleViewHeight { get; set; }
Property Value:

The height of the single view.

Gets the number of rows in the CalendarView.

C#
public int SingleViewRows { get; }
Property Value:

The number of rows in the CalendarView.

Gets or sets the width of the single view.

C#
public Unit SingleViewWidth { get; set; }
Property Value:

The width of the single view.

Gets or sets the calendar view title.

C#
public string Title { get; set; }
Property Value:

The string for the title.

Gets or sets the title alignment.

C#
public HorizontalAlign TitleAlign { get; set; }
Property Value:

The title alignment.

Gets the title text.

C#
public string TitleContent { get; }
Property Value:

The title text.

Gets or sets if the column headers will be used as selectors.

C#
public bool UseColumnHeadersAsSelectors { get; set; }
Property Value:

Determines if the column headers will be used as selectors.

Gets or sets if the row headers will be used as selectors.

C#
public bool UseRowHeadersAsSelectors { get; set; }
Property Value:

Determines if the row headers will be used as selectors.

Gets or sets the view end date.

C#
public DateTime ViewEndDate { get; set; }
Property Value:

The view end date.

Gets or sets the view selector image.

C#
public string ViewSelectorImage { get; set; }
Property Value:

The view selector image.

Gets or sets the view selector text.

C#
public string ViewSelectorText { get; set; }
Property Value:

The view selector text.

Gets or sets the view TableItemStyle.

C#
public TableItemStyle ViewSettings { get; set; }
Property Value:

The view TableItemStyle.

Gets or sets the view start date.

C#
public DateTime ViewStartDate { get; set; }
Property Value:

The view start date.

Methods

GetEffectiveVisibleDate method. Returns the effective visible date. Usage is demonstrated in the Title Customization topic

C#
public abstract DateTime GetEffectiveVisibleDate()
Returns:

DateTime

DateTime object

C#
protected virtual void SetViewDateRange()