Skip to main content

IResourceNavigationService.CanGoToResourceById(Object) Method

Indicates whether the Scheduler can navigate to the specified resource.

Namespace: DevExpress.XtraScheduler.Services

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

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

bool CanGoToResourceById(
    object resourceId
)

Parameters

Name Type Description
resourceId Object

An object, representing the identifier of the 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 the navigation is enabled. E.g. if a resource is filtered out, it won’t be shown and the navigation is disabled.

See Also