ClassDayViewHeader
Represents the header of SchedulerDayViewElement which contains cells indicating the dates for each column.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class DayViewHeader : SchedulerCellContainer, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementSchedulerVisualElementSchedulerCellContainerDayViewHeader
Implements:
Inherited Members
Constructors
DayViewHeader(RadScheduler, SchedulerView, SchedulerDayViewElement)
Initializes a new instance of the DayViewAllDayHeader class.
Declaration
public DayViewHeader(RadScheduler scheduler, SchedulerView view, SchedulerDayViewElement dayViewElement)
Parameters
scheduler
The scheduler.
view
The view.
dayViewElement
The day view element.
Fields
HeaderHeightProperty
Declaration
public static RadProperty HeaderHeightProperty
Field Value
LeftCellClassName
Declaration
public const string LeftCellClassName = "CornerHeaderCell2"
Field Value
RightCellClassName
Declaration
public const string RightCellClassName = "CornerHeaderCell3"
Field Value
Properties
DayViewElement
Gets the parent SchedulerDayViewElement which owns this header.
Declaration
public SchedulerDayViewElement DayViewElement { get; }
Property Value
HeaderHeight
Specifies the height of the header.
Methods
ArrangeOverride(SizeF)
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
CreateAppointmentElements()
Creates AppointmentElement elements which will be used in this container.
Declaration
protected override IEnumerable<AppointmentElement> CreateAppointmentElements()
Returns
IEnumerable<AppointmentElement>
A collection of the newly created appointment elements.
Overrides
CreateCellElements()
Creates SchedulerCellElement elements which will be used in this container.
Declaration
protected override IEnumerable<SchedulerCellElement> CreateCellElements()
Returns
IEnumerable<SchedulerCellElement>
A collection of the newly created cells.
Overrides
GetLeftCornerCell()
Declaration
public SchedulerHeaderCellElement GetLeftCornerCell()
Returns
GetRightCornerCell()
Declaration
public SchedulerHeaderCellElement GetRightCornerCell()
Returns
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
SetCornerCellsVisibility(bool)
Shows or hides the corner cells (the ones above the rulers and the DayViewAppointmentsArea scrollbar).
Declaration
public void SetCornerCellsVisibility(bool visible)
Parameters
visible
[true] if corner cells should be visible, [false] otherwise.
UpdateCellsCore()
Overrideable method called by UpdateCells().
Declaration
protected override void UpdateCellsCore()
Overrides