SchedulerElementProvider Methods
Click or drag to resize
SchedulerElementProvider Methods

The SchedulerElementProvider type exposes the following members.

Methods
  NameDescription
Public methodCacheElement
Adds an element to the cache if this is CanCache(ISchedulerRecyclableElement) allows this.
Protected methodCanCache
Indicates whether an element can be added to the cache.
Public methodClearCache
Removes all cached elements from the cache.
Protected methodCreateElementT
Creates a new instance of type T with the specified view for the specified context. Override to provide custom elements.
Public methodCreateResourceSeparatorElement
Creates a SchedulerVisualElement which represents will be place inbetween the view elements when grouping by resource.
Public methodCreateRulerPrimitive
Creates a RulerPrimitive instance which will be used in the DayViewAppointmentsArea of DayView and WeekView.
Public methodGetElementT(SchedulerView, Object)
Gets an element of type T from the cache or creates a new one if such is not found.
Public methodGetElementT(SchedulerView, String, Object)
Gets an element of type T and a specified Class from the cache or creates a new one if such is not found. The method finds all cached elements of type T and tries to find one that matches the specified Class. If a match is not found, returns any of the found elements of type T. If there are no cached elements of type T, creates a new element.
Protected methodTryGetCachedElementT
Tries to get an element with type T and a specified Class from the cache.
Top
See Also