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

Returns a new TimescaleRuler with the specified settings.

Namespace: DevExpress.Xpf.Gantt

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

Declaration

public TimescaleRuler Update(
    int count = 1,
    double? minWidth = default(double? ),
    double? maxWidth = default(double? )
)
Public Function Update(
    count As Integer = 1,
    minWidth As Double? = Nothing,
    maxWidth As Double? = Nothing
) As TimescaleRuler

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