Skip to main content

TimeRuler.UseClientTimeZone Property

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v14.2.Core.dll

#Declaration

[DefaultValue(true)]
[XtraSerializableProperty(XtraSerializationFlags.DefaultValue)]
public bool UseClientTimeZone { get; set; }

#Property Value

Type Default Description
Boolean

true

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

#Remarks

The UseClientTimeZone property, set to true, indicates the time ruler element which follows changes in the client time zone. The client time zone can be specified via the OptionsBehavior.ClientTimeZoneId property, and by default, equals the local system time zone setting. The time scale of this time ruler always starts at 00:00 AM.

If the TimeRuler.TimeZone property of the TimeRuler is modified, the UseClientTimeZone value becomes false.

See Also