SchedulerControl.RestoreTimeRegions(IEnumerable<TimeRegionItem>) Method
In This Article
Reverts the specified time regions of the TimeRegionType.ChangedOccurrence or TimeRegionType.DeletedOccurrence type to the TimeRegionType.Occurrence type.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
#Declaration
public bool RestoreTimeRegions(
IEnumerable<TimeRegionItem> timeRegions
)
#Parameters
Name | Type | Description |
---|---|---|
time |
IEnumerable<Time |
A list of DevExpress. |
#Returns
Type | Description |
---|---|
Boolean | true, if the time regions have been restored; otherwise, false. |
#Remarks
If the collection passed to method’s regions parameter contains time regions of any type other than the TimeRegionType.ChangedOccurrence or TimeRegionType.DeletedOccurrence, an exception is thrown.
See Also