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

TimescaleRuler.SetFormatProvider(IFormatProvider) Method

Returnes a new TimescaleRuler with the specified format provider.

Namespace: DevExpress.Xpf.Gantt

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

NuGet Package: DevExpress.Wpf.Gantt

Declaration

public TimescaleRuler SetFormatProvider(
    IFormatProvider formatProvider
)

Parameters

Name Type Description
formatProvider IFormatProvider

An object of a class that implements a IFormatProvider that supplies specific formatting information on the values displayed by labels of the chart range control client.

Returns

Type Description
TimescaleRuler

A new instance of the TimescaleRuler class.

See Also