Back to Devexpress

TimeRuler.HorizontalAlignment Property

corelibraries-devexpress-dot-xtrascheduler-dot-timeruler-915873ee.md

latest2.0 KB
Original Source

TimeRuler.HorizontalAlignment Property

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

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
[DefaultValue(TimeRulerHorizontalAlignment.Near)]
public TimeRulerHorizontalAlignment HorizontalAlignment { get; set; }
vb
<DefaultValue(TimeRulerHorizontalAlignment.Near)>
Public Property HorizontalAlignment As TimeRulerHorizontalAlignment

Property Value

TypeDefaultDescription
TimeRulerHorizontalAlignmentNear

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

|

Available values:

NameDescription
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

TimeRuler Class

TimeRuler Members

DevExpress.XtraScheduler Namespace