Skip to main content
A newer version of this page is available. .

TimescaleRuler(TimescaleUnit, Int32, Double, Double, IFormatProvider) Constructor

Initializes a new instance of the TimescaleRuler class with specified settings.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v18.2.dll

Declaration

public TimescaleRuler(
    TimescaleUnit unit,
    int count = 1,
    double minWidth = 1,
    double maxWidth = Infinity,
    IFormatProvider formatProvider = null
)

Parameters

Name Type
unit DevExpress.Xpf.Gantt.TimescaleUnit

Optional Parameters

Name Type Default
count Int32 1
minWidth Double 1
maxWidth Double
formatProvider IFormatProvider *null*
See Also