Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
[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