Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxSchedulerEvent.IsResourceEvent(TcxSchedulerStorageResourceItem,Boolean) Method

Checks whether the user event belongs to the AResource resource.

#Declaration

Delphi
function IsResourceEvent(AResource: TcxSchedulerStorageResourceItem; AllowUnassigned: Boolean): Boolean;

#Parameters

Name Type
AResource TcxSchedulerStorageResourceItem
AllowUnassigned Boolean

#Returns

Type
Boolean

#Remarks

Call this function to find out whether the user event is in the AResource resource’s group.

The AllowUnassigned parameter specifies whether the user event can be shared with resources if no resources are associated with the user event. That is, if the TcxSchedulerEvent.ResourceID is set to null and the AllowUnassigned parameter is set to True, then the function returns True.

See Also