Back to Devexpress

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

wpf-devexpress-dot-xpf-dot-gantt-dot-timescaleruler-dot-update-x28-system-dot-int32-system-dot-nullable-system-dot-double-system-dot-nullable-system-dot-double-x29.md

latest2.4 KB
Original Source

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

Returns a new TimescaleRuler with the specified settings.

Namespace : DevExpress.Xpf.Gantt

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

NuGet Package : DevExpress.Wpf.Gantt

Declaration

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

Optional Parameters

NameTypeDefaultDescription
countInt321

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

TypeDescription
TimescaleRuler

A new instance of the TimescaleRuler class.

|

See Also

TimescaleRuler Class

TimescaleRuler Members

DevExpress.Xpf.Gantt Namespace