Skip to main content
A newer version of this page is available. .

ResourcesCheckedListBoxControl.ResourceVisibleChanged(ResourceBaseCollection) Method

OBSOLETE

You should use the 'IResourceFilterControl.ResourceVisibleChanged' instead.

Resets all the resource items and their visibility state in the check list according to the specified resources collection and preserves the index of currently selected item.

Namespace: DevExpress.XtraScheduler.UI

Assembly: DevExpress.XtraScheduler.v19.2.dll

Declaration

[Obsolete("You should use the 'IResourceFilterControl.ResourceVisibleChanged' instead.", false)]
public void ResourceVisibleChanged(
    ResourceBaseCollection resources
)

Parameters

Name Type Description
resources ResourceBaseCollection

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

Remarks

The ResourceVisibleChanged 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 which Resource.Visible property returns true will be checked in the check list, and all invisible resources will be unchecked. After the check list is resettled, the BaseListBoxControl.SelectedIndex is set to its value which it has before resetting has been started.

See Also