Skip to main content

ResourcesPopupCheckedListBoxControl.ResetResourcesItems(ResourceBaseCollection) Method

OBSOLETE

You should use the 'IResourceFilterControl.ResetResourcesItems' instead.

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

Namespace: DevExpress.XtraScheduler.UI

Assembly: DevExpress.XtraScheduler.v23.2.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("You should use the 'IResourceFilterControl.ResetResourcesItems' instead.", false)]
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

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