Skip to main content

IResourceNavigationService.CanGoToResource(Resource) Method

Indicates whether the Scheduler can navigate to the specified resource.

Namespace: DevExpress.XtraScheduler.Services

Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll

Declaration

bool CanGoToResource(
    Resource resource
)

Parameters

Name Type Description
resource Resource

An Resource object, that is a destination resource.

Returns

Type Description
Boolean

true if navigation is allowed; otherwise, false.

Remarks

Use this method for the Scheduler in grouped mode (SchedulerControl.GroupType does not equal SchedulerGroupType.None) to check for available resources for which navigation is enabled. For instance, if a resource is filtered out, it won’t be shown, and the navigation is disabled.

See Also