New to Telerik UI for WinForms? Start a free 30-day trial

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:

C#
public class ResourceNavigator

Inheritance: objectResourceNavigator

Constructors

Creates a navigator that reads resources from the specified scheduler.

C#
public ResourceNavigator(RadScheduler scheduler)
Parameters:schedulerRadScheduler

The scheduler whose resources and active view define each page.

Properties

Gets the scheduler supplying the resource collection and active view.

C#
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.

C#
public SchedulerResourceCollection GetNextResources()
Returns:

SchedulerResourceCollection

The resource page beginning at the updated index.

Moves the starting resource index back by one when possible and returns the resulting resource page.

C#
public SchedulerResourceCollection GetPreviousResources()
Returns:

SchedulerResourceCollection

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.

C#
public SchedulerResourceCollection GetResources()
Returns:

SchedulerResourceCollection

A new collection containing the current resource page.