Arranges the child month views of a multi-month calendar view in a grid.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class CalendarMultiMonthViewTableElement : CalendarTableElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementCalendarVisualElementCalendarTableElementCalendarMultiMonthViewTableElement...
Implements:
Inherited Members
Constructors
Initializes the table with the calendar and multi-month view whose child views it displays.
protected CalendarMultiMonthViewTableElement(CalendarVisualElement owner, RadCalendar calendar, CalendarView view)
The month-view element that contains this table.
calendarRadCalendarThe calendar that owns the view.
viewCalendarViewThe non-null multi-month view whose child views are displayed.
protected CalendarMultiMonthViewTableElement(CalendarVisualElement owner)
Properties
Gets the number of month columns configured on the current multi-month view.
public override int Columns { get; }
Overrides:
Gets the number of month rows configured on the current multi-month view.
public override int Rows { get; }
Overrides:
Gets or sets the multi-month view represented by this table.
public override CalendarView View { get; set; }
Overrides:
Setting a different view rebinds the existing month elements and hides the table-level headers and selector.
Methods
Places each month element at its row and column using the supplied cell size and offsets.
protected override void ArrangeContentCells(int xCellSize, int yCellSize, int xOffset, int yOffset)
The horizontal size assigned to each month element.
yCellSizeintThe vertical size assigned to each month element.
xOffsetintThe horizontal offset applied before arranging the grid.
yOffsetintThe vertical offset applied before arranging the grid.
Overrides:
Creates month elements from the current view's row and column settings.
protected override void CreateVisuals()
Overrides:
Gets the month element at the specified zero-based grid position.
Creates a month element for each child view and places the elements in row-major order.
Replaces the table's child collection with the current month elements.
protected override void InitializeChildren()
Overrides:
Disables fade and transition animation for the multi-month grid.
protected override void InitializeFields()
Overrides:
Rebuilds the month elements using the calendar's current multi-month dimensions.
protected override void Recreate()
Overrides:
Rebinds each existing month element to the corresponding child view in the current multi-month view.
public override void ResetVisuals()
Overrides:
Does not register additional property-change behavior for this table.
protected override void SetBehaviorOnPropertyChange(string propertyName)
Overrides: