Back to Devexpress

SchedulerControl.RestoreTimeRegion(TimeRegionItem) Method

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-dot-restoretimeregion-x28-devexpress-dot-xpf-dot-scheduling-dot-timeregionitem-x29.md

latest1.9 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

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

Parameters

NameTypeDescription
regionTimeRegionItem

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

|

Returns

TypeDescription
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

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace