Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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