TimeRuler.HorizontalAlignment Property
Gets or sets on which side of the view the Time ruler is displayed.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v25.1.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.

See Also