DataSource.DateTimeSavingMode Property
Gets or sets the conversion type required before saving an appointment’s start and end values to the data source.
Namespace: DevExpress.XamarinForms.Scheduler
Assembly: DevExpress.XamarinForms.Scheduler.dll
NuGet Package: DevExpress.XamarinForms.Scheduler
Declaration
public DateTimeSavingMode DateTimeSavingMode { get; set; }
Property Value
Type | Description |
---|---|
DateTimeSavingMode | The value that specifies how the data source stores appointment date/time values. |
Available values:
Name | Description |
---|---|
Appointment | The scheduler saves an appointment’s start and end values to the data source as they are. |
Storage | The scheduler converts an appointment’s start and end values to the time zone of the storage (SchedulerDataStorage.TimeZone) before saving them to the data source. |
Utc | The scheduler converts an appointment’s start and end values to UTC before saving them to the data source. |
Remarks
You can assign the following values to the DateTimeSavingMode property to specify how to save an appointment’s start and end values to the data source:
- Storage - to store appointments in the scheduler storage’s time zone that the SchedulerDataStorage.TimeZone property defines.
- Appointment - to store appointments in the time zone that the AppointmentItem.TimeZoneId property defines.
- Utc - to make the DateTime data consistent throughout different databases used in your applications.