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
Initializes a new instance of the SchedulerMonthViewGroupedByResourceElement class.
public SchedulerMonthViewGroupedByResourceElement(RadScheduler scheduler, SchedulerView view)
The scheduler.
viewSchedulerViewThe view.
Properties
Gets or sets resource header height
public int ResourceHeaderHeight { get; set; }
Gets the scrollbar that stands for navigating between resources.
public override RadScrollBarElement ResourceScrollBar { get; }
Overrides:
Methods
Called when a new child view is initialized so the overriding members can set the appropriate settings to the newly created child view.
protected override void ApplyChildViewVisualSettings(SchedulerMonthViewElement monthViewElement)
Overrides:
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
Creates a child SchedulerView for the specified resource index.
protected override SchedulerView CreateChildView(int resourcesStartIndex)
The newly created child SchedulerView.
Overrides:
Creates a child view element instance.
protected override SchedulerMonthViewElement CreateChildViewElement(int resourcesStartIndex, int childIndex, SchedulerView childView)
The index of the child view in the current view.
childViewSchedulerViewThe child SchedulerView.
Returns:The newly created child view element.
Overrides:
Gets the row and the column of a specified cell in the current view.
public override TableLayoutPanelCellPosition GetCellCoordinates(SchedulerCellElement cell)
The specified cell.
Returns:A TableLayoutPanelCellPosition object containing the row and column.
Overrides:
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
protected override void InitializeFields()
Overrides:
Initializes the child elements which are specific to the current view type.
protected override void InitializeViewSpecificChildren()
Overrides:
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
Called when a property of the view has changed Override to implement any custom updates to the element.
protected override void OnViewPropertyChanged(object sender, PropertyChangedEventArgs e)
Overrides:
Refreshes the child SchedulerViewElement views.
protected override void RefreshResourceViews()
Overrides:
Scrolls the table with a single row up or down.
public override void Scroll(bool up)
If [true] the table is scrolled up, otherwise it is scrolled down.
Overrides:
Called when the parrent view has changed and the child views need to update according to that change.
protected override void SynchronizeChildView(SchedulerMonthViewElement element, string propertyName)
The child view element to synchronize.
propertyNamestringThe name of the property which caused the synchronization.
Overrides: