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

TimescaleRuler.Update(Int32, Nullable<Double>, Nullable<Double>) Method

Returns a new TimescaleRuler with the specified settings.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v19.1.dll

Declaration

public TimescaleRuler Update(
    int count = 1,
    double? minWidth = default(double? ),
    double? maxWidth = default(double? )
)

Optional Parameters

Name Type Default Description
count Int32 1

The count of units displayed between two timescale tick marks. This value is assigned to the Count property.

minWidth Nullable<Double> *null*

The minimum distance between tick marks in pixels when the timescale is displayed. This value is assigned to the MinWidth property.

maxWidth Nullable<Double> *null*

The maximum distance between tick marks in pixels when the timescale is displayed. This value is assigned to the MinWidth property.

Returns

Type Description
TimescaleRuler

A new instance of the TimescaleRuler class.

See Also