CalendarView
Summary description for CalendarView. Related to Multi-View Mode functionality.
Definition
Namespace:Telerik.Web.UI.Calendar.View
Assembly:Telerik.Web.UI.dll
Syntax:
public abstract class CalendarView
Inheritance: objectCalendarView
Derived Classes:
Inherited Members
Fields
[SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
protected Calendar DefaultCalendar
Properties
Gets the current CalendarView child views as a CalendarViewCollection.
public CalendarViewCollection ChildViews { get; }
The current CalendarView child views as a CalendarViewCollection.
Gets or sets the column header image.
public string ColumnHeaderImage { get; set; }
The column header image.
Gets or sets the column header text.
public string ColumnHeaderText { get; set; }
The column header text.
Gets or sets the conditions error message which will be displayed if there any errors in the settings.
public string ConditionsErrorMessage { get; set; }
The conditions error message which will be displayed if there any errors in the settings.
Gets or sets the current view begin date.
public DateTime CurrentViewBeginDate { get; set; }
The current view begin date.
Gets or sets the current view end date.
public DateTime CurrentViewEndDate { get; set; }
The current view end date.
Gets the default column index.
public int DefaultColumn { get; }
The default column index.
Gets the default row index.
public int DefaultRow { get; }
The default row index.
Gets or sets if the multi selection of dates will be enabled\disabled.
public bool EnableMultiSelect { get; set; }
Determines if the multi selection of dates will be enabled\disabled.
Gets or sets if MultiView Mode is enabled\disabled.
public bool EnableMultiView { get; set; }
Determines if MultiView Mode is enabled\disabled.
Gets or sets if the view selector is enabled.
public bool EnableViewSelector { get; set; }
Determines if the view selector is enabled.
Gets or sets the header TableItemStyle.
Gets or sets the ID of the CalendarView. Returns the parent RadCalendar ClientID if the view is TopView.
public string ID { get; set; }
The ID of the CalendarView. Returns the parent RadCalendar ClientID if the view is TopView.
Gets or sets if the CalendarView is hidden.
Gets or sets if the calendar view is initialized.
public bool IsInitialized { get; set; }
Determines if the calendar view is initialized.
Gets if the MultiView Mode is enabled.
public bool IsSingleView { get; }
Determines if the MultiView Mode is enabled.
Gets if the view the top view or part of the child RadCalendar views.
public bool IsTopView { get; }
Determines if the view the top view or part of the child RadCalendar views.
Gets the number of columns for the multi view.
public int MultiViewColumns { get; }
The number of columns for the multi view.
Gets the number of rows for the multi view.
public int MultiViewRows { get; }
The number of rows for the multi view.
Gets 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.
public Orientation Orientation { get; }
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.
Gets or sets 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.
public PresentationType PresentationType { get; }
Gets the previous CalendarView.
Gets or sets the row header image.
public string RowHeaderImage { get; set; }
The row header image.
Gets or sets the row selector text.
public string RowSelectorText { get; set; }
The row selector text.
Gets or sets if the calendar view header will be visible.
public bool ShowCalendarViewHeader { get; set; }
Determines if the calendar view header will be visible.
Gets or sets if the column headers will be visible.
public bool ShowColumnHeaders { get; set; }
Determines if the column headers will be visible.
Gets or sets if the row headers will be visible.
public bool ShowRowHeaders { get; set; }
Determines if the row headers will be visible.
Gets the single view columns.
public int SingleViewColumns { get; }
The single view columns.
Gets or sets the height of the single view.
public Unit SingleViewHeight { get; set; }
The height of the single view.
Gets the number of rows in the CalendarView.
Gets or sets the width of the single view.
public Unit SingleViewWidth { get; set; }
The width of the single view.
Gets or sets the calendar view title.
public string Title { get; set; }
The string for the title.
Gets or sets the title alignment.
public HorizontalAlign TitleAlign { get; set; }
The title alignment.
Gets the title text.
public string TitleContent { get; }
The title text.
Gets or sets if the column headers will be used as selectors.
public bool UseColumnHeadersAsSelectors { get; set; }
Determines if the column headers will be used as selectors.
Gets or sets if the row headers will be used as selectors.
public bool UseRowHeadersAsSelectors { get; set; }
Determines if the row headers will be used as selectors.
Gets or sets the view end date.
public DateTime ViewEndDate { get; set; }
The view end date.
Gets or sets the view selector image.
public string ViewSelectorImage { get; set; }
The view selector image.
Gets or sets the view selector text.
public string ViewSelectorText { get; set; }
The view selector text.
Gets or sets the view TableItemStyle.
Gets or sets the view start date.
public DateTime ViewStartDate { get; set; }
The view start date.
Methods
GetEffectiveVisibleDate method. Returns the effective visible date. Usage is demonstrated in the Title Customization topic
protected virtual void SetViewDateRange()