Skip to main content

TimeRuler.HorizontalAlignment Property

Gets or sets on which side of the view the Time ruler is displayed.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v23.2.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

[DefaultValue(TimeRulerHorizontalAlignment.Near)]
public TimeRulerHorizontalAlignment HorizontalAlignment { get; set; }

Property Value

Type Default Description
TimeRulerHorizontalAlignment Near

A TimeRulerHorizontalAlignment enumeration member that specifies the position of the Time ruler relative to the view.

Available values:

Name Description
Near

Left side of the view for left-to-right layout and right side of the view for RTL layout.

Far

Right side of the view for left-to-right layout and left side of the view for RTL layout.

Remarks

The HorizontalAlignment property specifies whether the Time ruler is displayed on the left (default for Left-to-Right layout) or on the right side of the view.

TimeRulerHorizontalAlignment

See Also