Skip to main content

ResourcesPopupCheckedListBoxControl.ResetResourcesItems(ResourceBaseCollection) Method

Resets all resource items and their visibility state in the check list according to the specified resources collection.

Namespace: DevExpress.Xpf.Scheduler.UI

Assembly: DevExpress.Xpf.Scheduler.v23.2.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public void ResetResourcesItems(
    ResourceBaseCollection resources
)

Parameters

Name Type Description
resources ResourceBaseCollection

A ResourceBaseCollection object which contains resources to be used when updating the check list.

Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

The ResetResourcesItems method removes all items currently shown in the check list and adds new items according to the resources contained in the specified resources collection. Note that all the resources for which the Resource.Visible property returns true will be checked in the check list, while all invisible resources will be unchecked.

See Also