IResourceNavigationService.CanGoToResourceById(Object) Method
In This Article
Indicates whether the Scheduler can navigate to the specified resource.
Namespace: DevExpress.XtraScheduler.Services
Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
resource |
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