All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SchedulerItemBase.HasResource(Object) Method

Indicates whether the item is associated with the specified resource.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.1.dll

Declaration

public bool HasResource(
    object resourceId
)
Public Function HasResource(
    resourceId As Object
) As Boolean

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