Class SchedulerDayViewGroupedByResourceElement
Respresents the main visual element of RadScheduler when the active view is SchedulerDayView and grouping by resource is enabled.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class SchedulerDayViewGroupedByResourceElement : SchedulerViewGroupedByResourceElement<SchedulerDayViewElement>, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
SchedulerDayViewGroupedByResourceElement(RadScheduler, SchedulerView)
Initializes a new instance of the SchedulerDayViewGroupedByResourceElement class.
Declaration
public SchedulerDayViewGroupedByResourceElement(RadScheduler scheduler, SchedulerView view)
Parameters
RadScheduler
scheduler
The scheduler. |
SchedulerView
view
The view. |
Fields
HeaderHeightProperty
Properties
AllDayHeaderHeight
Specifies the height of the DayViewAllDayHeader for all child views.
Declaration
[RadPropertyDefaultValue("AllDayHeaderHeight", typeof(SchedulerDayViewGroupedByResourceElement))]
public int AllDayHeaderHeight { get; set; }
Property Value
System.Int32
|
ResourceHeaderHeight
Gets or sets resource header height.
Declaration
public int ResourceHeaderHeight { get; set; }
Property Value
System.Int32
|
ResourceScrollBar
Declaration
public override RadScrollBarElement ResourceScrollBar { get; }
Property Value
RadScrollBarElement
|
Overrides
Methods
ApplyChildViewVisualSettings(SchedulerDayViewElement)
Declaration
protected override void ApplyChildViewVisualSettings(SchedulerDayViewElement dayView)
Parameters
SchedulerDayViewElement
dayView
|
Overrides
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateChildView(Int32)
Declaration
protected override SchedulerView CreateChildView(int resourceIndex)
Parameters
System.Int32
resourceIndex
|
Returns
SchedulerView
|
Overrides
CreateChildViewElement(Int32, Int32, SchedulerView)
Declaration
protected override SchedulerDayViewElement CreateChildViewElement(int resourcesStartIndex, int childIndex, SchedulerView childView)
Parameters
System.Int32
resourcesStartIndex
|
System.Int32
childIndex
|
SchedulerView
childView
|
Returns
SchedulerDayViewElement
|
Overrides
EnsureAppointmentVisible(AppointmentElement)
Scrolls to a specified appointment element.
Declaration
public void EnsureAppointmentVisible(AppointmentElement appointment)
Parameters
AppointmentElement
appointment
The appointment element. |
EnsureCellVisible(SchedulerCellElement)
Scrolls to a specified cell element.
Declaration
public void EnsureCellVisible(SchedulerCellElement cell)
Parameters
SchedulerCellElement
cell
The cell element. |
GetCellAtPosition(Int32, Int32)
Declaration
public override SchedulerCellElement GetCellAtPosition(int row, int column)
Parameters
System.Int32
row
|
System.Int32
column
|
Returns
SchedulerCellElement
|
Overrides
GetCellCoordinates(SchedulerCellElement)
Declaration
public override TableLayoutPanelCellPosition GetCellCoordinates(SchedulerCellElement cell)
Parameters
SchedulerCellElement
cell
|
Returns
System.Windows.Forms.TableLayoutPanelCellPosition
|
Overrides
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
InitializeViewSpecificChildren()
Declaration
protected override void InitializeViewSpecificChildren()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
NavigateToResource(Int32)
OnLoaded()
OnSchedulerAppointmentsChanged(Object, NotifyCollectionChangedEventArgs)
Declaration
protected override void OnSchedulerAppointmentsChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
System.Object
sender
|
NotifyCollectionChangedEventArgs
e
|
Overrides
OnViewPropertyChanged(Object, PropertyChangedEventArgs)
Declaration
protected override void OnViewPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
System.Object
sender
|
System.ComponentModel.PropertyChangedEventArgs
e
|
Overrides
RefreshResourceViews()
Declaration
protected override void RefreshResourceViews()
Overrides
Scroll(Boolean)
Declaration
public override void Scroll(bool up)
Parameters
System.Boolean
up
|
Overrides
ScrollToTime(TimeSpan)
Scrolls the table to a specified time of the day.
Declaration
public void ScrollToTime(TimeSpan time)
Parameters
System.TimeSpan
time
The time of the day. |
ScrollToWorkHours()
Scrolls the table to the start of the working hours.
Declaration
public void ScrollToWorkHours()
SynchronizeChildView(SchedulerDayViewElement, String)
Declaration
protected override void SynchronizeChildView(SchedulerDayViewElement element, string propertyName)
Parameters
SchedulerDayViewElement
element
|
System.String
propertyName
|
Overrides
SyncPositionOffsets()
Synchronizes the scroll offset of the child view elements.
Declaration
public void SyncPositionOffsets()