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

SchedulerItemBase.HasResource(Object) Method

Indicates whether the item is associated with the specified resource.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

public bool HasResource(
    object resourceId
)

#Parameters

Name Type Description
resourceId Object

The resource id.

#Returns

Type Description
Boolean

true, if the ResourceIds collection contains the specified resource id; otherwise, false.

#Remarks

If the resourceId parameter is set to null or EmptyResourceId.Id, the HasResource method returns true.

See Also