Class MonthViewAreaElement
Represents the area in Scheduler
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class MonthViewAreaElement : SchedulerCellContainer, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
MonthViewAreaElement(RadScheduler, SchedulerView, SchedulerMonthViewElement)
Initializes a new instance of the Month
Declaration
public MonthViewAreaElement(RadScheduler scheduler, SchedulerView view, SchedulerMonthViewElement monthViewElement)
Parameters
Rad The scheduler this header belongs to. |
Scheduler The view this header belongs to. |
Scheduler The month view this header belongs to. |
Fields
AppointmentHeightProperty
CellOverflowArrowHeightProperty
Properties
AppointmentHeight
Gets or sets the default height of the appointments.
Declaration
public int AppointmentHeight { get; set; }
Property Value
System. The default height of the appointments. |
AppointmentsComparer
Gets or sets the comparer of the Appointments collection
Declaration
public IComparer<AppointmentElement> AppointmentsComparer { get; set; }
Property Value
System.
|
CellOverflowArrowHeight
Gets or sets the height of the overflow arrow which appears in a Month
Declaration
public int CellOverflowArrowHeight { get; set; }
Property Value
System.
|
CellScrollBars
Gets the scrollbars that appear at the end of each row when some of the cells in that row has more appointments than can be displayed.
Declaration
public RadScrollBarElement[] CellScrollBars { get; protected set; }
Property Value
Feedback
If there is an active drag operation and the visual feedback is currently inside the area, returns the visual feedback element. Otherwise returns null.
Declaration
public DragFeedbackElement Feedback { get; }
Property Value
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.
|
Returns
System.
|
Overrides
CreateAppointmentElements()
Declaration
protected override IEnumerable<AppointmentElement> CreateAppointmentElements()
Returns
System.
|
Overrides
CreateCellElements()
Declaration
protected override IEnumerable<SchedulerCellElement> CreateCellElements()
Returns
System.
|
Overrides
GetCellForDate(DateTime)
Gets the Scheduler
Declaration
public SchedulerCellElement GetCellForDate(DateTime date)
Parameters
System. The date. |
Returns
Scheduler The cell that contains the date. |
GetContentCell(Int32, Int32)
Gets the Month
Declaration
public MonthCellElement GetContentCell(int row, int column)
Parameters
System. The row of the requested cell. |
System. The column of the requested cell. |
Returns
Month The requested cell. |
GetDayNumberAsTextFromCalendar(DateTime)
Declaration
protected virtual string GetDayNumberAsTextFromCalendar(DateTime date)
Parameters
System.
|
Returns
System.
|
GetFeedbackElementArrangeRectangle(SizeF)
Calculates and returns the arrange rectangle of the drag feedback element.
Declaration
protected virtual RectangleF GetFeedbackElementArrangeRectangle(SizeF finalSize)
Parameters
System. The arrange size of the area. |
Returns
System. The calculated arrange rectangle. |
InitializeAppointments()
Declaration
public override void InitializeAppointments()
Overrides
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
OnCellScrollBarValueChanged(Object, EventArgs)
Called when some of the scrollbars that appear in the last cell of a row is scrolled.
Declaration
protected virtual void OnCellScrollBarValueChanged(object sender, EventArgs e)
Parameters
System. The sender scrollbar. |
System. The event arguments. |
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
RefreshCellScrollBars()
Updates the scrollbars that appear in the last cell of a row when this row has more appointments than it can fit.
Declaration
protected virtual void RefreshCellScrollBars()
UpdateCellsCore()
Declaration
protected override void UpdateCellsCore()