Class SchedulerViewGroupedByResourceElement<T>
Represents a base type for views that are grouped by resource and consist of
a set of child Scheduler
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public abstract class SchedulerViewGroupedByResourceElement<T> : SchedulerViewGroupedByResourceElementBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider where T : SchedulerViewElement
Type Parameters
T
The type of the child view elements. |
Constructors
SchedulerViewGroupedByResourceElement(RadScheduler, SchedulerView)
Declaration
public SchedulerViewGroupedByResourceElement(RadScheduler scheduler, SchedulerView view)
Parameters
Rad
|
Scheduler
|
Properties
AppointmentMargin
Declaration
public override Padding AppointmentMargin { get; set; }
Property Value
System.
|
Overrides
Methods
ApplyChildViewVisualSettings(T)
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 virtual void ApplyChildViewVisualSettings(T childView)
Parameters
T
childView
The child view. |
CreateChildView(Int32)
Creates a child Scheduler
Declaration
protected abstract SchedulerView CreateChildView(int resourceIndex)
Parameters
System. The resource index. |
Returns
Scheduler The newly created child Scheduler |
CreateChildViewElement(Int32, Int32, SchedulerView)
Creates a child view element instance.
Declaration
protected abstract T CreateChildViewElement(int resourcesIndex, int childIndex, SchedulerView childView)
Parameters
System. The index of the resource that corresponds to this view. |
System. The index of the child view in the current view. |
Scheduler The child Scheduler |
Returns
T
The newly created child view element. |
CreateTemporaryAppointment(String, DateTime, DateTime, Boolean, EventId)
Declaration
public override IEvent CreateTemporaryAppointment(string name, DateTime startDate, DateTime endDate, bool allDay, EventId resourceId)
Parameters
System.
|
System.
|
System.
|
System.
|
Event
|
Returns
Overrides
GetCellContainers()
Declaration
public override List<SchedulerCellContainer> GetCellContainers()
Returns
System.
|
Overrides
GetChildViewElements()
Gets a list of the child view elements that this view contains.
Declaration
public IList<T> GetChildViewElements()
Returns
System. The list. |
GetViewSeparators()
Gets a list of the view separators that are displayed between the child view elements.
Declaration
public IList<LightVisualElement> GetViewSeparators()
Returns
System. The list. |
OnSchedulerAppointmentsChanged(Object, NotifyCollectionChangedEventArgs)
Declaration
protected override void OnSchedulerAppointmentsChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
System.
|
Notify
|
Overrides
OnViewPropertyChanged(Object, PropertyChangedEventArgs)
Declaration
protected override void OnViewPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
System.
|
System.
|
Overrides
RefreshResourceViews()
Declaration
protected override void RefreshResourceViews()
Overrides
SynchronizeChildView(T, String)
Called when the parrent view has changed and the child views need to update according to that change.
Declaration
protected abstract void SynchronizeChildView(T element, string propertyName)
Parameters
T
element
The child view element to synchronize. |
System. The name of the property which caused the synchronization. |
UpdateChildResourceIndices()
Declaration
protected override void UpdateChildResourceIndices()