Skip to main content

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

NuGet Package: 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