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

TcxSchedulerStorageResources.GetResourceName(TcxSchedulerStorageResourceItem) Method

Returns the display name of the specified resource.

#Declaration

Delphi
function GetResourceName(AResource: TcxSchedulerStorageResourceItem): string;

#Parameters

Name Type
AResource TcxSchedulerStorageResourceItem

#Returns

Type
string

#Remarks

Call this function to obtain the descriptive name of a resource passed as the AResource parameter. The GetResourceName function returns an empty string if nil is passed as instead of a valid resource instance. The event persistence manager calls this function internally to provide resource display names for the associated Scheduler control.

To obtain the resource’s name by the specified unique identifier, call the GetResourceNameByID function.

Note

Calling the GetResourceName or GetResourceNameByID function raises the OnGetResourceName event.

See Also