ResourceNavigator
Tracks a one-resource-at-a-time window over the scheduler's resources, sized by the active view's ResourcesPerView.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class ResourceNavigator
Inheritance: objectResourceNavigator
Constructors
Creates a navigator that reads resources from the specified scheduler.
public ResourceNavigator(RadScheduler scheduler)
The scheduler whose resources and active view define each page.
Properties
Gets the scheduler supplying the resource collection and active view.
public RadScheduler Scheduler { get; }
Methods
Moves the starting resource index forward by one when another resource exists, then returns the resulting page. The final advance can leave fewer resources than the active view requires, causing page construction to index beyond the collection.
public SchedulerResourceCollection GetNextResources()
The resource page beginning at the updated index.
Moves the starting resource index back by one when possible and returns the resulting resource page.
public SchedulerResourceCollection GetPreviousResources()
The current page of resources.
Creates a page containing the active view's ResourcesPerView consecutive resources, beginning at the current navigation index. The scheduler's collection must contain enough resources for that page.
public SchedulerResourceCollection GetResources()
A new collection containing the current resource page.