TimeRuler.UseClientTimeZone Property

Gets or sets whether a particular TimeRuler always uses the ClientTimeZoneId setting.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll

Declaration

[DefaultValue(true)]
public bool UseClientTimeZone { get; set; }
<DefaultValue(True)>
Public Property UseClientTimeZone As Boolean

Property Value

Type Default Description
Boolean

true

true, if a TimeRuler uses ClientTimeZoneId setting; otherwise, false.

Remarks

The Time Ruler element with the UseClientTimeZone property set to true uses the client time zone specified by the SchedulerOptionsBehaviorBase.ClientTimeZoneId property. By default, a client time zone is the same as the time zone of the host.

The time scale of the TimeRuler that uses the client time zone always starts at 00:00 AM. Time scales of time rulers with different time zone settings are shifted relative to the time scale of the time ruler that belongs to the client time zone.

NOTE

When the TimeRuler.TimeZoneId property of the TimeRuler is modified, the UseClientTimeZone value becomes false.

See Also