ResourcesCheckedListBoxControl.ResetResourcesItems(ResourceBaseCollection) Method
OBSOLETE
You should use the 'IResourceFilterControl.ResetResourcesItems' instead.
Resets all the resource items and their visibility state in the check list according to the specified resources collection.
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.ResetResourcesItems' instead.", false)]
public void ResetResourcesItems(
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 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 which the Resource.Visible property returns true will be checked in the check list, and all invisible resources will be unchecked.