Skip to main content
All docs
V25.1
  • GanttControl.TimescaleRulerCount Property

    Gets or sets the number of rulers in the timescale.

    Namespace: DevExpress.XtraGantt

    Assembly: DevExpress.XtraGantt.v25.1.dll

    NuGet Package: DevExpress.Win.Gantt

    Declaration

    [DefaultValue(2)]
    [DXCategory("Appearance")]
    public virtual int TimescaleRulerCount { get; set; }

    Property Value

    Type Default Description
    Int32 2

    An Int32 value that specifies the number of rulers in the timescale.

    Remarks

    The timescale can display between one and three rulers. Rulers display different measure units depending on the zoom factor: years-quarters-months, months-days-hours, etc.

    image

    image

    See Also