Class DayViewHeader
Represents the header of SchedulerDayViewElement which contains cells indicating the dates for each column.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class DayViewHeader : SchedulerCellContainer, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
DayViewHeader(RadScheduler, SchedulerView, SchedulerDayViewElement)
Initializes a new instance of the DayViewAllDayHeader class.
Declaration
public DayViewHeader(RadScheduler scheduler, SchedulerView view, SchedulerDayViewElement dayViewElement)
Parameters
RadScheduler
scheduler
The scheduler. |
SchedulerView
view
The view. |
SchedulerDayViewElement
dayViewElement
The day view element. |
Fields
HeaderHeightProperty
LeftCellClassName
Declaration
public const string LeftCellClassName = "CornerHeaderCell2"
Field Value
System.String
|
RightCellClassName
Declaration
public const string RightCellClassName = "CornerHeaderCell3"
Field Value
System.String
|
Properties
DayViewElement
Gets the parent SchedulerDayViewElement which owns this header.
Declaration
public SchedulerDayViewElement DayViewElement { get; }
Property Value
SchedulerDayViewElement
|
HeaderHeight
Specifies the height of the header.
Declaration
public int HeaderHeight { get; set; }
Property Value
System.Int32
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateAppointmentElements()
Declaration
protected override IEnumerable<AppointmentElement> CreateAppointmentElements()
Returns
System.Collections.Generic.IEnumerable<AppointmentElement>
|
Overrides
CreateCellElements()
Declaration
protected override IEnumerable<SchedulerCellElement> CreateCellElements()
Returns
System.Collections.Generic.IEnumerable<SchedulerCellElement>
|
Overrides
GetLeftCornerCell()
Declaration
public SchedulerHeaderCellElement GetLeftCornerCell()
Returns
SchedulerHeaderCellElement
|
GetRightCornerCell()
Declaration
public SchedulerHeaderCellElement GetRightCornerCell()
Returns
SchedulerHeaderCellElement
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
SetCornerCellsVisibility(Boolean)
Shows or hides the corner cells (the ones above the rulers and the DayViewAppointmentsArea scrollbar).
Declaration
public void SetCornerCellsVisibility(bool visible)
Parameters
System.Boolean
visible
[true] if corner cells should be visible, [false] otherwise. |
UpdateCellsCore()
Declaration
protected override void UpdateCellsCore()