Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

Returns a new TimescaleRuler with the specified settings.

Namespace: DevExpress.Xpf.Gantt

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

NuGet Package: DevExpress.Wpf.Gantt

#Declaration

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

#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