SchedulerControl.RestoreTimeRegion(TimeRegionItem) Method
In This Article
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 | Time |
The DevExpress. |
#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