Skip to main content
All docs
V25.1
  • SchedulerItemBase.HasResource(Object) Method

    Indicates whether the item is associated with the specified resource.

    Namespace: DevExpress.Xpf.Scheduling

    Assembly: DevExpress.Xpf.Scheduling.v25.1.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