Skip to main content

SchedulerItemBase.TimeZoneId Property

Gets or sets the appointment time zone.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public string TimeZoneId { get; set; }

Property Value

Type Description
String

A String indicating the appointment time zone name.

Remarks

The SchedulerItemBase.TimeZoneId property identifies a particular appointment‘s time zone.

The Scheduler converts the displayed time values according to the current SchedulerControl.ActualTimeZone property value.

The image below illustrates an appointment created in the (GMT-06:00) Central Time (US and Canada) time zone and displayed relative to the (GMT) Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London (UTC) and (GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna (Local) time scales.

When a user creates an appointment, the TimeZoneId is set to the SchedulerControl.ActualTimeZone property value.

Refer to the following topic for more information: Time Zones.

Note

The Scheduler is not able to read a custom time zone created by calling the standard CreateCustomTimeZone method.

Use the DataSource.DateTimeSavingMode property to specify in what time zone the appointments should be stored in the data source.

See Also