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

Declaration

public bool RestoreTimeRegion(
    TimeRegionItem region
)
Public Function RestoreTimeRegion(
    region As TimeRegionItem
) As Boolean

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