ClassSchedulerMonthViewGroupedByResourceElement
Respresents the main visual element of RadScheduler when the active view is SchedulerMonthView and grouping by resource is enabled.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SchedulerMonthViewGroupedByResourceElement : SchedulerViewGroupedByResourceElement<SchedulerMonthViewElement>, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementSchedulerVisualElementSchedulerViewElementSchedulerViewGroupedByResourceElementBaseSchedulerViewGroupedByResourceElement<SchedulerMonthViewElement>SchedulerMonthViewGroupedByResourceElement
Implements:
Inherited Members
Constructors
SchedulerMonthViewGroupedByResourceElement(RadScheduler, SchedulerView)
Initializes a new instance of the SchedulerMonthViewGroupedByResourceElement class.
Declaration
public SchedulerMonthViewGroupedByResourceElement(RadScheduler scheduler, SchedulerView view)
Parameters
scheduler
The scheduler.
view
The view.
Properties
ResourceHeaderHeight
Gets or sets resource header height
ResourceScrollBar
Gets the scrollbar that stands for navigating between resources.
Declaration
public override RadScrollBarElement ResourceScrollBar { get; }
Property Value
Overrides
Methods
ApplyChildViewVisualSettings(SchedulerMonthViewElement)
Called when a new child view is initialized so the overriding members can set the appropriate settings to the newly created child view.
Declaration
protected override void ApplyChildViewVisualSettings(SchedulerMonthViewElement monthViewElement)
Parameters
monthViewElement
Overrides
ArrangeOverride(SizeF)
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
CreateChildView(int)
Creates a child SchedulerView for the specified resource index.
Declaration
protected override SchedulerView CreateChildView(int resourcesStartIndex)
Parameters
resourcesStartIndex
Returns
The newly created child SchedulerView.
Overrides
CreateChildViewElement(int, int, SchedulerView)
Creates a child view element instance.
Declaration
protected override SchedulerMonthViewElement CreateChildViewElement(int resourcesStartIndex, int childIndex, SchedulerView childView)
Parameters
resourcesStartIndex
childIndex
The index of the child view in the current view.
childView
The child SchedulerView.
Returns
The newly created child view element.
Overrides
GetCellAtPosition(int, int)
Gets the cell on the specified row and column.
Declaration
public override SchedulerCellElement GetCellAtPosition(int row, int column)
Parameters
row
The row of the cell.
column
The column of the cell.
Returns
The cell at the specified position.
Overrides
GetCellCoordinates(SchedulerCellElement)
Gets the row and the column of a specified cell in the current view.
Declaration
public override TableLayoutPanelCellPosition GetCellCoordinates(SchedulerCellElement cell)
Parameters
cell
The specified cell.
Returns
A TableLayoutPanelCellPosition object containing the row and column.
Overrides
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
InitializeViewSpecificChildren()
Initializes the child elements which are specific to the current view type.
Declaration
protected override void InitializeViewSpecificChildren()
Overrides
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
OnViewPropertyChanged(object, PropertyChangedEventArgs)
Called when a property of the view has changed Override to implement any custom updates to the element.
Declaration
protected override void OnViewPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
sender
e
Overrides
RefreshResourceViews()
Refreshes the child SchedulerViewElement views.
Declaration
protected override void RefreshResourceViews()
Overrides
Scroll(bool)
Scrolls the table with a single row up or down.
Declaration
public override void Scroll(bool up)
Parameters
up
If [true] the table is scrolled up, otherwise it is scrolled down.
Overrides
SynchronizeChildView(SchedulerMonthViewElement, string)
Called when the parrent view has changed and the child views need to update according to that change.
Declaration
protected override void SynchronizeChildView(SchedulerMonthViewElement element, string propertyName)
Parameters
element
The child view element to synchronize.
propertyName
The name of the property which caused the synchronization.
Overrides