All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SchedulerControl.RestoreTimeRegions(IEnumerable<TimeRegionItem>) Method

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

Declaration

public bool RestoreTimeRegions(
    IEnumerable<TimeRegionItem> timeRegions
)
Public Function RestoreTimeRegions(
    timeRegions As IEnumerable(Of TimeRegionItem)
) As Boolean

Parameters

Name Type Description
timeRegions IEnumerable<TimeRegionItem>

A list of DevExpress.Xpf.Scheduling.TimeRegionItem objects that are changed occurrences to restore.

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