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

SchedulerControl.RestoreTimeRegion(TimeRegionItem) Method

Reverts the specified time region of the TimeRegionType.ChangedOccurrence or TimeRegionType.DeletedOccurrence type to the TimeRegionType.Occurrence type.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduling, DevExpress.Wpf.Scheduling

Declaration

public bool RestoreTimeRegion(
    TimeRegionItem region
)

Parameters

Name Type Description
region TimeRegionItem

The DevExpress.Xpf.Scheduling.TimeRegionItem object that is a changed occurrence to restore.

Returns

Type Description
Boolean

true, if the time region has been restored; otherwise, false.

Remarks

If the time region passed to the method’s region parameter is of any type other than the TimeRegionType.ChangedOccurrence or TimeRegionType.DeletedOccurrence, an exception is thrown.

See Also