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